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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.007562/0.007562, allocations: 169.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7907/0.7907, allocations: 135.2 MB / 151 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 223.2 MB / 406.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.001049, allocations: 97.36 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003725, allocations: 16 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4378, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.5946, allocations: 110.6 MB / 0.7575 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.595, allocations: 67.97 kB / 0.7576 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006348/0.5957, allocations: 376.9 kB / 0.7579 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.906e-06/0.5957, allocations: 0 / 0.7579 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.423e-06/0.5957, allocations: 0 / 0.7579 GB, free: 4.984 MB / 0.5261 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.0003543/0.5961, allocations: 311.4 kB / 0.7582 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.5961, allocations: 8.031 kB / 0.7582 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.5962, allocations: 30.56 kB / 0.7583 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.5962, allocations: 0 / 0.7583 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.5964, allocations: 171 kB / 0.7584 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.5964, allocations: 4 kB / 0.7584 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.5964, allocations: 4 kB / 0.7584 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.5965, allocations: 29.64 kB / 0.7585 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5965, allocations: 0 / 0.7585 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.5966, allocations: 0 / 0.7585 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.5966, allocations: 0 / 0.7585 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.767e-05/0.5966, allocations: 7.984 kB / 0.7585 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.5968, allocations: 153 kB / 0.7586 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.846e-05/0.5969, allocations: 22.58 kB / 0.7586 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.5969, allocations: 3.984 kB / 0.7586 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.5969, allocations: 38.66 kB / 0.7587 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.5969, allocations: 0 / 0.7587 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001596/0.5971, allocations: 33.64 kB / 0.7587 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.5972, allocations: 51.41 kB / 0.7588 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.302e-05/0.5972, allocations: 85 kB / 0.7588 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.5972, allocations: 25.7 kB / 0.7589 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.5973, allocations: 84.27 kB / 0.7589 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.5973, allocations: 3.906 kB / 0.7589 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.5973, allocations: 4 kB / 0.7589 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.5975, allocations: 314.8 kB / 0.7592 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.5975, allocations: 0 / 0.7592 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.5975, allocations: 0 / 0.7592 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.28e-05/0.5976, allocations: 7.922 kB / 0.7593 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5976, allocations: 4 kB / 0.7593 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.223e-05/0.5976, allocations: 41.66 kB / 0.7593 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5977, allocations: 4 kB / 0.7593 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5977, allocations: 0 / 0.7593 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.5977, allocations: 0 / 0.7593 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.5978, allocations: 4 kB / 0.7593 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5978, allocations: 0 / 0.7593 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.256e-05/0.5978, allocations: 2.391 kB / 0.7593 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.5978, allocations: 0 / 0.7593 GB, free: 3.352 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.706e-05/0.5979, allocations: 109.8 kB / 0.7594 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-06/0.5979, allocations: 11.98 kB / 0.7594 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.598, allocations: 7.109 kB / 0.7594 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.22e-07/0.598, allocations: 0 / 0.7594 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.598, allocations: 0 / 0.7594 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.598, allocations: 0 / 0.7594 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.5981, allocations: 141.7 kB / 0.7596 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.5981, allocations: 0 / 0.7596 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.5981, allocations: 4 kB / 0.7596 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5982, allocations: 3.953 kB / 0.7596 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.5982, allocations: 0 / 0.7596 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5982, allocations: 3.984 kB / 0.7596 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.5982, allocations: 4 kB / 0.7596 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.431e-05/0.5983, allocations: 61.08 kB / 0.7596 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.5983, allocations: 77.11 kB / 0.7597 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.5983, allocations: 3.953 kB / 0.7597 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-06/0.5983, allocations: 0 / 0.7597 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.5984, allocations: 3.938 kB / 0.7597 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.5984, allocations: 3.984 kB / 0.7597 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.5984, allocations: 79.31 kB / 0.7598 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5984, allocations: 4 kB / 0.7598 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001818/0.5986, allocations: 0 / 0.7598 GB, free: 2.746 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000349/0.599, allocations: 0.5812 MB / 0.7604 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.157e-05/0.599, allocations: 8.031 kB / 0.7604 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.599, allocations: 0 / 0.7604 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-05/0.5991, allocations: 11.98 kB / 0.7604 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.298e-05/0.5992, allocations: 7.891 kB / 0.7604 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.5995, allocations: 101.3 kB / 0.7605 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.5997, allocations: 0.6731 MB / 0.7612 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.714e-05/0.5998, allocations: 0 / 0.7612 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.5998, allocations: 7.438 kB / 0.7612 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of SimCode: time 2.9e-07/0.5998, allocations: 4.125 kB / 0.7612 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/0.6114, allocations: 0.6652 MB / 0.7618 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.6116, allocations: 164.6 kB / 0.762 GB, free: 448 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.12, allocations: 0 / 0.762 GB, free: 448 kB / 0.5261 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/linux/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)