Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004953/0.004953, allocations: 96.31 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 195.8 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7155/0.7155, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.88 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3208, allocations: 80.21 MB / 0.6592 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001994/0.3228, allocations: 1.438 MB / 0.6606 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003324/0.3231, allocations: 187.1 kB / 0.6608 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.3232, allocations: 0 / 0.6608 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.3232, allocations: 0.7031 kB / 0.6608 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.3234, allocations: 28.42 kB / 0.6608 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.3236, allocations: 53.05 kB / 0.6609 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.744e-05/0.3236, allocations: 46.11 kB / 0.6609 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.677e-05/0.3237, allocations: 16.56 kB / 0.6609 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.3238, allocations: 21.06 kB / 0.661 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.3238, allocations: 22.94 kB / 0.661 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3238, allocations: 4.438 kB / 0.661 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.3239, allocations: 3.188 kB / 0.661 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.3239, allocations: 17.67 kB / 0.661 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.3239, allocations: 16.28 kB / 0.661 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.469e-05/0.324, allocations: 50.22 kB / 0.6611 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.324, allocations: 0 / 0.6611 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.624e-06/0.324, allocations: 0.7031 kB / 0.6611 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.324, allocations: 1.375 kB / 0.6611 GB, free: 8.715 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003627/0.3244, allocations: 341.2 kB / 0.6614 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.3244, allocations: 9.719 kB / 0.6614 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.856e-05/0.3245, allocations: 36.61 kB / 0.6614 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.3245, allocations: 6.734 kB / 0.6614 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.917e-05/0.3246, allocations: 177.6 kB / 0.6616 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3246, allocations: 1.078 kB / 0.6616 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.3246, allocations: 2.812 kB / 0.6616 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.3247, allocations: 70.38 kB / 0.6617 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.3247, allocations: 5.25 kB / 0.6617 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3248, allocations: 4.594 kB / 0.6617 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3248, allocations: 5.312 kB / 0.6617 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.3248, allocations: 13.77 kB / 0.6617 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.3251, allocations: 263.6 kB / 0.662 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.331e-05/0.3252, allocations: 47.42 kB / 0.662 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.3252, allocations: 16.45 kB / 0.662 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-06/0.3252, allocations: 0 / 0.662 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.3253, allocations: 63.39 kB / 0.6621 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3254, allocations: 0 / 0.6621 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001703/0.3255, allocations: 78.48 kB / 0.6622 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.3256, allocations: 104.2 kB / 0.6623 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.853e-05/0.3256, allocations: 108.7 kB / 0.6624 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.3256, allocations: 26.36 kB / 0.6624 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.3257, allocations: 82.3 kB / 0.6625 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.3257, allocations: 15 kB / 0.6625 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.3257, allocations: 17.61 kB / 0.6625 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.388e-05/0.3258, allocations: 317.5 kB / 0.6628 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.3258, allocations: 10.56 kB / 0.6628 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.3258, allocations: 31.38 kB / 0.6628 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/0.3259, allocations: 30.22 kB / 0.6629 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3259, allocations: 0 / 0.6629 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.58e-05/0.326, allocations: 71.67 kB / 0.6629 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.326, allocations: 8.266 kB / 0.6629 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.326, allocations: 448 / 0.6629 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.326, allocations: 0 / 0.6629 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.3261, allocations: 7.625 kB / 0.663 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.3261, allocations: 0.6094 kB / 0.663 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3262, allocations: 12.23 kB / 0.663 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3262, allocations: 1.5 kB / 0.663 GB, free: 6.793 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.3263, allocations: 119.5 kB / 0.6631 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.3263, allocations: 6.5 kB / 0.6631 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.523e-05/0.3263, allocations: 4.203 kB / 0.6631 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3263, allocations: 2.078 kB / 0.6631 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3263, allocations: 1.375 kB / 0.6631 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3263, allocations: 3.984 kB / 0.6631 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.195e-05/0.3264, allocations: 174.1 kB / 0.6633 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3264, allocations: 1.219 kB / 0.6633 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.3264, allocations: 7.406 kB / 0.6633 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3264, allocations: 3.938 kB / 0.6633 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.3265, allocations: 1.797 kB / 0.6633 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3265, allocations: 4 kB / 0.6633 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3265, allocations: 2.031 kB / 0.6633 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.3266, allocations: 96.06 kB / 0.6634 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.3266, allocations: 84.94 kB / 0.6635 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.3266, allocations: 4.656 kB / 0.6635 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3268, allocations: 8.75 kB / 0.6635 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.3268, allocations: 4.703 kB / 0.6635 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3268, allocations: 5.859 kB / 0.6635 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.462e-05/0.3268, allocations: 85.16 kB / 0.6636 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3268, allocations: 1.031 kB / 0.6636 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001864/0.327, allocations: 9.406 kB / 0.6636 GB, free: 6.172 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002457/0.3273, allocations: 0.6367 MB / 0.6642 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.737e-05/0.3274, allocations: 33.44 kB / 0.6642 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3274, allocations: 0 / 0.6642 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.3274, allocations: 19.52 kB / 0.6642 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.3276, allocations: 5.594 kB / 0.6642 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.3283, allocations: 1.175 MB / 0.6654 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.035e-05/0.3283, allocations: 0.6777 MB / 0.6661 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.3284, allocations: 6.141 kB / 0.6661 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.3284, allocations: 11.23 kB / 0.6661 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.3284, allocations: 0 / 0.6661 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.3443, allocations: 1.764 MB / 0.6678 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.798/7.142, allocations: 5.797 kB / 0.6678 GB, free: 2.832 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)