Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_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.001402/0.001402, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8564/0.8564, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0008903/0.0008905, allocations: 112 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.286e-05, allocations: 0 / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5045/0.5046, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.6562, allocations: 109.8 MB / 0.7412 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.6565, allocations: 63.97 kB / 0.7412 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004104/0.6569, allocations: 376.9 kB / 0.7416 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6569, allocations: 0 / 0.7416 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.6569, allocations: 0 / 0.7416 GB, free: 12.41 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.0002492/0.6572, allocations: 306.6 kB / 0.7419 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.6573, allocations: 8.031 kB / 0.7419 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.6573, allocations: 0 / 0.7419 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.565e-05/0.6574, allocations: 167 kB / 0.7421 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.6574, allocations: 4 kB / 0.7421 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.6574, allocations: 4 kB / 0.7421 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.289e-05/0.6575, allocations: 0 / 0.7421 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.699e-05/0.6575, allocations: 29.64 kB / 0.7421 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.6576, allocations: 0 / 0.7421 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.6576, allocations: 0 / 0.7421 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6576, allocations: 0 / 0.7421 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.6577, allocations: 133.7 kB / 0.7422 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.808e-05/0.6578, allocations: 22.53 kB / 0.7423 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.6578, allocations: 8.953 kB / 0.7423 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.6578, allocations: 0 / 0.7423 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.6578, allocations: 34.55 kB / 0.7423 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.6578, allocations: 0 / 0.7423 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001273/0.658, allocations: 33.64 kB / 0.7423 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.658, allocations: 51.41 kB / 0.7424 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.065e-05/0.6581, allocations: 93.03 kB / 0.7425 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.6581, allocations: 25.7 kB / 0.7425 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.6581, allocations: 80.14 kB / 0.7426 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.6582, allocations: 3.906 kB / 0.7426 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-06/0.6582, allocations: 0 / 0.7426 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6583, allocations: 314.8 kB / 0.7429 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.6583, allocations: 0 / 0.7429 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-06/0.6583, allocations: 0 / 0.7429 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.58e-05/0.6583, allocations: 4.062 kB / 0.7429 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6583, allocations: 4 kB / 0.7429 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.73e-05/0.6584, allocations: 37.62 kB / 0.7429 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6584, allocations: 11.89 kB / 0.7429 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.6584, allocations: 0 / 0.7429 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.6584, allocations: 0 / 0.7429 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.6585, allocations: 7.938 kB / 0.7429 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.6585, allocations: 0 / 0.7429 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.6585, allocations: 2.391 kB / 0.7429 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.6585, allocations: 0 / 0.7429 GB, free: 10.86 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 () * 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 7.039e-05/0.6586, allocations: 105 kB / 0.743 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 3.754e-05/0.6586, allocations: 33.7 kB / 0.7431 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.6587, allocations: 7.953 kB / 0.7431 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.52e-05/0.6587, allocations: 7.734 kB / 0.7431 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.6587, allocations: 0 / 0.7431 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6587, allocations: 4 kB / 0.7431 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.6587, allocations: 0 / 0.7431 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.174e-05/0.6588, allocations: 122.2 kB / 0.7432 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.6588, allocations: 0 / 0.7432 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/0.6588, allocations: 4.031 kB / 0.7432 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.6588, allocations: 7.953 kB / 0.7432 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.6588, allocations: 0 / 0.7432 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.6588, allocations: 0 / 0.7432 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6588, allocations: 0 / 0.7432 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.562e-05/0.6589, allocations: 61.06 kB / 0.7433 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.6589, allocations: 81.11 kB / 0.7433 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.659, allocations: 3.953 kB / 0.7434 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-06/0.659, allocations: 4.031 kB / 0.7434 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.437e-06/0.659, allocations: 0 / 0.7434 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.659, allocations: 0 / 0.7434 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.729e-05/0.659, allocations: 75.28 kB / 0.7434 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-07/0.659, allocations: 0 / 0.7434 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002026/0.6592, allocations: 4 kB / 0.7434 GB, free: 10.27 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 () * 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.0003118/0.6596, allocations: 0.5852 MB / 0.744 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.932e-05/0.6596, allocations: 7.938 kB / 0.744 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6596, allocations: 0 / 0.744 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.6596, allocations: 0 / 0.744 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.527e-05/0.6597, allocations: 9.828 kB / 0.744 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.66, allocations: 77.64 kB / 0.7441 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.6602, allocations: 0.6691 MB / 0.7447 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.332e-05/0.6603, allocations: 4 kB / 0.7448 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.6603, allocations: 11.44 kB / 0.7448 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.6603, allocations: 3.938 kB / 0.7448 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.6786, allocations: 404.2 kB / 0.7452 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.6789, allocations: 126.7 kB / 0.7453 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.381/2.06, allocations: 0 / 0.7453 GB, free: 8.223 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)