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.01045/0.01045, allocations: 103.6 kB / 15.73 MB, free: 6.047 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.001828/0.001828, allocations: 195.6 kB / 16.67 MB, free: 5.977 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7503/0.7503, allocations: 132.2 MB / 422.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.89 kB / 0.5808 GB, free: 8.137 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4433, allocations: 80.2 MB / 0.6591 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001842/0.4452, allocations: 0.5831 MB / 0.6597 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 3.974e-05/0.4452, allocations: 0.7031 kB / 0.6597 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.4453, allocations: 5.312 kB / 0.6597 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.4453, allocations: 0 / 0.6597 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-06/0.4453, allocations: 0 / 0.6597 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.087e-05/0.4454, allocations: 4 kB / 0.6597 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.611e-05/0.4454, allocations: 9.969 kB / 0.6597 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.4455, allocations: 2.109 kB / 0.6597 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.076e-05/0.4455, allocations: 5.281 kB / 0.6597 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.306e-05/0.4455, allocations: 0 / 0.6597 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.4456, allocations: 3.938 kB / 0.6597 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.001e-06/0.4456, allocations: 1.531 kB / 0.6598 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.4456, allocations: 0 / 0.6598 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.4456, allocations: 0.7031 kB / 0.6598 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.152e-05/0.4457, allocations: 0 / 0.6598 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4457, allocations: 1.938 kB / 0.6598 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.256e-06/0.4457, allocations: 4 kB / 0.6598 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4457, allocations: 0 / 0.6598 GB, free: 9.496 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002452/0.446, allocations: 309.4 kB / 0.6601 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.446, allocations: 9.438 kB / 0.6601 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.176e-05/0.446, allocations: 30.75 kB / 0.6601 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.921e-05/0.4461, allocations: 1.688 kB / 0.6601 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.38e-05/0.4461, allocations: 166.6 kB / 0.6603 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.4461, allocations: 4.312 kB / 0.6603 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.4461, allocations: 384 / 0.6603 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.542e-05/0.4462, allocations: 33.92 kB / 0.6603 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4463, allocations: 3.938 kB / 0.6603 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.4463, allocations: 0.8438 kB / 0.6603 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4463, allocations: 0 / 0.6603 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.006e-05/0.4463, allocations: 5.25 kB / 0.6603 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000103/0.4464, allocations: 148.5 kB / 0.6604 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.559e-05/0.4465, allocations: 21.84 kB / 0.6605 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.4465, allocations: 15.86 kB / 0.6605 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.4465, allocations: 0 / 0.6605 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.4465, allocations: 31.36 kB / 0.6605 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.4465, allocations: 1.188 kB / 0.6605 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001176/0.4467, allocations: 39.14 kB / 0.6605 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.4467, allocations: 51.41 kB / 0.6606 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.765e-05/0.4467, allocations: 96.16 kB / 0.6607 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.4467, allocations: 25.83 kB / 0.6607 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.39e-05/0.4467, allocations: 84.14 kB / 0.6608 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.4468, allocations: 0 / 0.6608 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.4468, allocations: 12.02 kB / 0.6608 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.673e-05/0.4469, allocations: 313.2 kB / 0.6611 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.4469, allocations: 0 / 0.6611 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.4469, allocations: 2.188 kB / 0.6611 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.4469, allocations: 11.58 kB / 0.6611 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4469, allocations: 5.344 kB / 0.6611 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.307e-05/0.447, allocations: 38.88 kB / 0.6612 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.447, allocations: 5.5 kB / 0.6612 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.447, allocations: 4.641 kB / 0.6612 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.447, allocations: 1.125 kB / 0.6612 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.627e-05/0.4471, allocations: 1.812 kB / 0.6612 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4471, allocations: 0.6562 kB / 0.6612 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.003e-05/0.4471, allocations: 1.219 kB / 0.6612 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.4471, allocations: 0 / 0.6612 GB, free: 7.883 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: 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 4.135e-05/0.4471, allocations: 112.8 kB / 0.6613 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-06/0.4472, allocations: 0.75 kB / 0.6613 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.587e-05/0.4472, allocations: 8.75 kB / 0.6613 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4472, allocations: 4.594 kB / 0.6613 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4472, allocations: 0 / 0.6613 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4472, allocations: 0 / 0.6613 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.09e-05/0.4472, allocations: 151.1 kB / 0.6614 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4473, allocations: 0.75 kB / 0.6614 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-06/0.4473, allocations: 1.5 kB / 0.6614 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.4473, allocations: 1.812 kB / 0.6614 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.4473, allocations: 8.688 kB / 0.6614 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.4473, allocations: 0 / 0.6614 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4473, allocations: 3.938 kB / 0.6614 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.641e-05/0.4473, allocations: 57.64 kB / 0.6615 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.4474, allocations: 77.86 kB / 0.6616 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.4474, allocations: 5.875 kB / 0.6616 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.4474, allocations: 0 / 0.6616 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.4474, allocations: 5.469 kB / 0.6616 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.4474, allocations: 8.688 kB / 0.6616 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.459e-05/0.4474, allocations: 77.95 kB / 0.6617 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4474, allocations: 1.625 kB / 0.6617 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002073/0.4477, allocations: 0 / 0.6617 GB, free: 7.297 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: 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.0002143/0.4479, allocations: 0.5985 MB / 0.6623 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.899e-05/0.448, allocations: 4.422 kB / 0.6623 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.448, allocations: 0 / 0.6623 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.072e-06/0.448, allocations: 2.656 kB / 0.6623 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.4481, allocations: 1.062 kB / 0.6623 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.4484, allocations: 108.2 kB / 0.6624 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.4485, allocations: 0.6712 MB / 0.663 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.104e-05/0.4485, allocations: 8.109 kB / 0.663 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/0.4485, allocations: 11.38 kB / 0.663 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4485, allocations: 1.188 kB / 0.663 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.4645, allocations: 0.8668 MB / 0.6639 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.249, allocations: 6.031 kB / 0.6639 GB, free: 5.508 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)