Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_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.00149/0.00149, allocations: 179.2 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6119/0.6119, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 221.3 MB / 348.3 MB, free: 480 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007899/0.0007899, allocations: 102.7 kB / 421.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.947e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.293 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3674, allocations: 72.29 MB / 0.5603 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.4812, allocations: 100.7 MB / 0.6587 GB, free: 3.617 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.4814, allocations: 71.95 kB / 0.6587 GB, free: 3.547 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0004075/0.4819, allocations: 368.9 kB / 0.6591 GB, free: 3.188 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4819, allocations: 2.312 kB / 0.6591 GB, free: 3.188 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.4819, allocations: 0 / 0.6591 GB, free: 3.188 MB / 474.7 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.0002244/0.4821, allocations: 311.5 kB / 0.6594 GB, free: 2.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4822, allocations: 11.98 kB / 0.6594 GB, free: 2.828 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.4822, allocations: 30.56 kB / 0.6594 GB, free: 2.789 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.4822, allocations: 12.77 kB / 0.6594 GB, free: 2.777 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.182e-05/0.4823, allocations: 159.1 kB / 0.6596 GB, free: 2.582 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.4824, allocations: 5.312 kB / 0.6596 GB, free: 2.578 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.4824, allocations: 0 / 0.6596 GB, free: 2.578 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.361e-05/0.4825, allocations: 29.69 kB / 0.6596 GB, free: 2.543 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4825, allocations: 7.156 kB / 0.6596 GB, free: 2.539 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.4825, allocations: 4 kB / 0.6596 GB, free: 2.535 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4825, allocations: 0 / 0.6596 GB, free: 2.535 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.853e-05/0.4825, allocations: 3.953 kB / 0.6596 GB, free: 2.531 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.4826, allocations: 141.7 kB / 0.6598 GB, free: 2.344 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.646e-05/0.4827, allocations: 27.2 kB / 0.6598 GB, free: 2.309 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.4827, allocations: 8.078 kB / 0.6598 GB, free: 2.301 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.4827, allocations: 0 / 0.6598 GB, free: 2.301 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.4828, allocations: 34.62 kB / 0.6598 GB, free: 2.258 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4828, allocations: 0 / 0.6598 GB, free: 2.258 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001035/0.4829, allocations: 37.67 kB / 0.6599 GB, free: 2.215 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.4829, allocations: 55.44 kB / 0.6599 GB, free: 2.148 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.561e-05/0.4829, allocations: 86.12 kB / 0.66 GB, free: 2.059 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.483, allocations: 25.7 kB / 0.66 GB, free: 2.027 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.483, allocations: 88.12 kB / 0.6601 GB, free: 1.938 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.483, allocations: 3.906 kB / 0.6601 GB, free: 1.934 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-06/0.483, allocations: 0 / 0.6601 GB, free: 1.934 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.4831, allocations: 318.8 kB / 0.6604 GB, free: 1.613 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-06/0.4831, allocations: 0 / 0.6604 GB, free: 1.613 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.93e-06/0.4832, allocations: 3.938 kB / 0.6604 GB, free: 1.609 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.307e-05/0.4832, allocations: 4.062 kB / 0.6604 GB, free: 1.605 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4832, allocations: 0 / 0.6604 GB, free: 1.605 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.064e-05/0.4832, allocations: 33.7 kB / 0.6605 GB, free: 1.566 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4832, allocations: 7.984 kB / 0.6605 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.4833, allocations: 2.438 kB / 0.6605 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.4833, allocations: 0 / 0.6605 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.988e-05/0.4833, allocations: 4 kB / 0.6605 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4833, allocations: 0 / 0.6605 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.967e-06/0.4834, allocations: 2.391 kB / 0.6605 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.4834, allocations: 4.031 kB / 0.6605 GB, free: 1.551 MB / 474.7 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 () * 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 5.503e-05/0.4834, allocations: 108.9 kB / 0.6606 GB, free: 1.438 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-06/0.4834, allocations: 0 / 0.6606 GB, free: 1.438 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.552e-05/0.4835, allocations: 7.75 kB / 0.6606 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.4835, allocations: 0 / 0.6606 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4835, allocations: 0 / 0.6606 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4835, allocations: 0 / 0.6606 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.171e-05/0.4836, allocations: 153.6 kB / 0.6607 GB, free: 1.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4836, allocations: 2.875 kB / 0.6607 GB, free: 1.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/0.4836, allocations: 7.938 kB / 0.6607 GB, free: 1.223 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.4836, allocations: 4 kB / 0.6607 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.4836, allocations: 0 / 0.6607 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.4836, allocations: 0 / 0.6607 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4836, allocations: 3.125 kB / 0.6607 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.952e-05/0.4837, allocations: 65.08 kB / 0.6608 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.4837, allocations: 77.11 kB / 0.6609 GB, free: 1.043 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.4837, allocations: 0 / 0.6609 GB, free: 1.043 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-06/0.4838, allocations: 4.031 kB / 0.6609 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.4838, allocations: 0 / 0.6609 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.4838, allocations: 0 / 0.6609 GB, free: 1.039 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.396e-05/0.4838, allocations: 75.28 kB / 0.661 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4838, allocations: 1.125 kB / 0.661 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001803/0.484, allocations: 4 kB / 0.661 GB, free: 0.9609 MB / 474.7 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 () * 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.0002741/0.4843, allocations: 0.5929 MB / 0.6615 GB, free: 348 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.086e-05/0.4843, allocations: 4 kB / 0.6615 GB, free: 344 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.4843, allocations: 0 / 0.6615 GB, free: 344 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.081e-06/0.4844, allocations: 4 kB / 0.6616 GB, free: 340 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.123e-05/0.4845, allocations: 7.375 kB / 0.6616 GB, free: 336 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002174/0.4847, allocations: 76.28 kB / 0.6616 GB, free: 224 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.4849, allocations: 0.6772 MB / 0.6623 GB, free: 15.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.06e-05/0.4849, allocations: 4 kB / 0.6623 GB, free: 15.51 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.4849, allocations: 8 kB / 0.6623 GB, free: 15.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.864e-06/0.4849, allocations: 0 / 0.6623 GB, free: 15.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01021/0.4952, allocations: 0.6895 MB / 0.663 GB, free: 14.96 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.4954, allocations: 144.7 kB / 0.6631 GB, free: 14.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.43/1.925, allocations: 0 / 0.6631 GB, free: 14.73 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)