Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",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.001173/0.001173, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7591/0.7591, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.75 kB / 0.5019 GB, free: 3.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4446, allocations: 80.19 MB / 0.5802 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001934/0.4466, allocations: 0.5874 MB / 0.5808 GB, free: 4.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 3.369e-05/0.4466, allocations: 1.406 kB / 0.5808 GB, free: 4.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.4467, allocations: 1.125 kB / 0.5808 GB, free: 4.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.4467, allocations: 4 kB / 0.5808 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.698e-06/0.4467, allocations: 0 / 0.5808 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.961e-05/0.4468, allocations: 0.5625 kB / 0.5808 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.73e-05/0.4468, allocations: 6.688 kB / 0.5808 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.4469, allocations: 1.422 kB / 0.5808 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.455e-05/0.4469, allocations: 3.984 kB / 0.5808 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.789e-05/0.4469, allocations: 5 kB / 0.5808 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.4469, allocations: 0 / 0.5808 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-06/0.4469, allocations: 1.25 kB / 0.5808 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.447, allocations: 7.875 kB / 0.5808 GB, free: 4.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.447, allocations: 0 / 0.5808 GB, free: 4.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.994e-05/0.447, allocations: 9.312 kB / 0.5808 GB, free: 4.406 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.447, allocations: 0.625 kB / 0.5808 GB, free: 4.406 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4471, allocations: 0 / 0.5808 GB, free: 4.406 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.4471, allocations: 0 / 0.5808 GB, free: 4.406 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002015/0.4473, allocations: 310.7 kB / 0.5811 GB, free: 4.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4473, allocations: 9.828 kB / 0.5811 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.541e-05/0.4473, allocations: 31.28 kB / 0.5811 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.901e-05/0.4474, allocations: 2.031 kB / 0.5811 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.81e-05/0.4474, allocations: 161.6 kB / 0.5813 GB, free: 3.824 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.4474, allocations: 8.375 kB / 0.5813 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.4475, allocations: 1.312 kB / 0.5813 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.388e-05/0.4475, allocations: 29.17 kB / 0.5813 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4476, allocations: 4.594 kB / 0.5813 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.4476, allocations: 0 / 0.5813 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4476, allocations: 1.125 kB / 0.5813 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.585e-05/0.4476, allocations: 4.969 kB / 0.5813 GB, free: 3.777 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.884e-05/0.4477, allocations: 144.7 kB / 0.5815 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.782e-05/0.4477, allocations: 24.86 kB / 0.5815 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.4477, allocations: 7.656 kB / 0.5815 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.4478, allocations: 0.7031 kB / 0.5815 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.116e-05/0.4478, allocations: 31.66 kB / 0.5815 GB, free: 3.512 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.4478, allocations: 0 / 0.5815 GB, free: 3.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001027/0.4479, allocations: 40.23 kB / 0.5816 GB, free: 3.473 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.4479, allocations: 51.41 kB / 0.5816 GB, free: 3.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.506e-05/0.4479, allocations: 95.72 kB / 0.5817 GB, free: 3.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.4479, allocations: 29.7 kB / 0.5817 GB, free: 3.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.023e-05/0.448, allocations: 80.14 kB / 0.5818 GB, free: 3.191 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.448, allocations: 5.484 kB / 0.5818 GB, free: 3.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.448, allocations: 10.78 kB / 0.5818 GB, free: 3.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.4481, allocations: 312.7 kB / 0.5821 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-06/0.4481, allocations: 1.531 kB / 0.5821 GB, free: 2.859 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.4481, allocations: 1.156 kB / 0.5821 GB, free: 2.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.4481, allocations: 15.83 kB / 0.5821 GB, free: 2.844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4481, allocations: 4.5 kB / 0.5822 GB, free: 2.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.676e-05/0.4482, allocations: 35.88 kB / 0.5822 GB, free: 2.805 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4482, allocations: 7.438 kB / 0.5822 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4482, allocations: 8.547 kB / 0.5822 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.4482, allocations: 1.469 kB / 0.5822 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.4483, allocations: 1.75 kB / 0.5822 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4483, allocations: 0.6562 kB / 0.5822 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.808e-06/0.4483, allocations: 4.625 kB / 0.5822 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.4483, allocations: 4.031 kB / 0.5822 GB, free: 2.789 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 3.715e-05/0.4483, allocations: 109.5 kB / 0.5823 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.4484, allocations: 1.703 kB / 0.5823 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.496e-05/0.4484, allocations: 7.578 kB / 0.5823 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4484, allocations: 4.781 kB / 0.5823 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4484, allocations: 0 / 0.5823 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4484, allocations: 1.406 kB / 0.5823 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.721e-05/0.4485, allocations: 150.2 kB / 0.5825 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4485, allocations: 1.734 kB / 0.5825 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.095e-05/0.4485, allocations: 5.156 kB / 0.5825 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.4485, allocations: 0.7031 kB / 0.5825 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.4485, allocations: 5.094 kB / 0.5825 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4485, allocations: 0 / 0.5825 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4485, allocations: 1.531 kB / 0.5825 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.955e-05/0.4486, allocations: 56.27 kB / 0.5825 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.4486, allocations: 81.86 kB / 0.5826 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.4486, allocations: 5.703 kB / 0.5826 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-06/0.4486, allocations: 4 kB / 0.5826 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.4486, allocations: 1.703 kB / 0.5826 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.4486, allocations: 1.219 kB / 0.5826 GB, free: 2.293 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.114e-05/0.4486, allocations: 75.28 kB / 0.5827 GB, free: 2.219 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4486, allocations: 0 / 0.5827 GB, free: 2.219 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000193/0.4488, allocations: 0.9688 kB / 0.5827 GB, free: 2.219 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0002103/0.4491, allocations: 0.5949 MB / 0.5833 GB, free: 1.617 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.336e-05/0.4491, allocations: 4.562 kB / 0.5833 GB, free: 1.617 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4491, allocations: 0 / 0.5833 GB, free: 1.617 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.69e-06/0.4491, allocations: 1.906 kB / 0.5833 GB, free: 1.617 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.4493, allocations: 2.328 kB / 0.5833 GB, free: 1.617 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.4496, allocations: 111 kB / 0.5834 GB, free: 1.477 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.726e-05/0.4496, allocations: 0.6709 MB / 0.5841 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.026e-05/0.4497, allocations: 1.422 kB / 0.5841 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.498e-05/0.4497, allocations: 8.406 kB / 0.5841 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4497, allocations: 0 / 0.5841 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.4665, allocations: 0.8422 MB / 0.5849 GB, free: 460 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/7.886, allocations: 7.781 kB / 0.5849 GB, free: 456 kB / 430.1 MB (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)