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.001443/0.001443, allocations: 176.2 kB / 7.648 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.783/0.783, allocations: 133.6 MB / 141.6 MB, free: 2.938 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.485/1.486, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.0008915/0.0008917, allocations: 100.3 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.531e-05/2.534e-05, allocations: 4 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.5246, allocations: 82.31 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.6753, allocations: 109.8 MB / 0.7412 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.6756, allocations: 71.95 kB / 0.7413 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004583/0.6761, allocations: 376.8 kB / 0.7416 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6761, allocations: 0 / 0.7416 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.6761, allocations: 0 / 0.7416 GB, free: 12.38 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.0002509/0.6764, allocations: 306.6 kB / 0.7419 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.6764, allocations: 8.094 kB / 0.7419 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.6765, allocations: 4 kB / 0.7419 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.6766, allocations: 167 kB / 0.7421 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.6766, allocations: 4 kB / 0.7421 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.6766, allocations: 0 / 0.7421 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.421e-05/0.6767, allocations: 0 / 0.7421 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.275e-05/0.6767, allocations: 33.64 kB / 0.7421 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6768, allocations: 0 / 0.7421 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.6768, allocations: 0 / 0.7421 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6768, allocations: 0 / 0.7421 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.6769, allocations: 125.7 kB / 0.7422 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.185e-05/0.677, allocations: 26.53 kB / 0.7423 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.677, allocations: 8.953 kB / 0.7423 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.677, allocations: 0 / 0.7423 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.677, allocations: 30.56 kB / 0.7423 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.677, allocations: 0 / 0.7423 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/0.6772, allocations: 37.62 kB / 0.7423 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.6772, allocations: 51.41 kB / 0.7424 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.2e-05/0.6773, allocations: 89.03 kB / 0.7425 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.6773, allocations: 25.7 kB / 0.7425 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.6773, allocations: 88.08 kB / 0.7426 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.6774, allocations: 3.906 kB / 0.7426 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.6774, allocations: 0 / 0.7426 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6775, allocations: 314.8 kB / 0.7429 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-06/0.6775, allocations: 0 / 0.7429 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-06/0.6775, allocations: 3.938 kB / 0.7429 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.421e-05/0.6775, allocations: 4 kB / 0.7429 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6775, allocations: 4.062 kB / 0.7429 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.32e-05/0.6776, allocations: 29.7 kB / 0.7429 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.6776, allocations: 11.94 kB / 0.7429 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6776, allocations: 0 / 0.7429 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.6776, allocations: 0 / 0.7429 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.6777, allocations: 7.938 kB / 0.7429 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.6777, allocations: 0 / 0.7429 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.076e-05/0.6777, allocations: 2.391 kB / 0.7429 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.6777, allocations: 0 / 0.7429 GB, free: 10.83 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.169e-05/0.6778, allocations: 105 kB / 0.743 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.02e-05/0.6779, allocations: 33.7 kB / 0.7431 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-06/0.6779, allocations: 3.953 kB / 0.7431 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.6779, allocations: 7.734 kB / 0.7431 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.6779, allocations: 4 kB / 0.7431 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6779, allocations: 0 / 0.7431 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.6779, allocations: 0 / 0.7431 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.451e-05/0.678, allocations: 122.2 kB / 0.7432 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.678, allocations: 4 kB / 0.7432 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-06/0.678, allocations: 0 / 0.7432 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.678, allocations: 7.984 kB / 0.7432 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-06/0.678, allocations: 0 / 0.7432 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.6781, allocations: 0 / 0.7432 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6781, allocations: 0 / 0.7432 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.229e-05/0.6781, allocations: 65.06 kB / 0.7433 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.6782, allocations: 81.09 kB / 0.7434 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.6782, allocations: 3.953 kB / 0.7434 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-06/0.6782, allocations: 32 / 0.7434 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.021e-05/0.6782, allocations: 4 kB / 0.7434 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.6782, allocations: 4 kB / 0.7434 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.099e-05/0.6783, allocations: 75.28 kB / 0.7434 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6783, allocations: 0 / 0.7434 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001696/0.6784, allocations: 0 / 0.7434 GB, free: 10.23 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.0002905/0.6787, allocations: 0.5852 MB / 0.744 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.205e-05/0.6788, allocations: 7.938 kB / 0.744 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6788, allocations: 3.938 kB / 0.744 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.112e-06/0.6788, allocations: 7.938 kB / 0.744 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.734e-05/0.6789, allocations: 3.953 kB / 0.744 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.6792, allocations: 77.7 kB / 0.7441 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.6794, allocations: 0.6729 MB / 0.7448 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.344e-05/0.6794, allocations: 4.125 kB / 0.7448 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.698e-05/0.6795, allocations: 7.438 kB / 0.7448 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.6795, allocations: 0 / 0.7448 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.6983, allocations: 396.4 kB / 0.7451 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/0.6986, allocations: 121.5 kB / 0.7453 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.422/2.121, allocations: 4 kB / 0.7453 GB, free: 8.191 MB / 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)