Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.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.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",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.001092/0.001092, allocations: 182.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5545/0.5545, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.565/1.565, allocations: 223.2 MB / 354.3 MB, free: 10.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 108.1 kB / 427.4 MB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004574, allocations: 8 kB / 0.4983 GB, free: 41.96 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1712, allocations: 72.3 MB / 0.5689 GB, free: 1.598 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5081/0.6793, allocations: 101.5 MB / 0.668 GB, free: 2.848 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.6796, allocations: 75.94 kB / 0.6681 GB, free: 2.773 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002184/0.6818, allocations: 0.7794 MB / 0.6689 GB, free: 2.008 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6818, allocations: 0 / 0.6689 GB, free: 2.008 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.6818, allocations: 0 / 0.6689 GB, free: 2.008 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004106/0.6822, allocations: 351.9 kB / 0.6692 GB, free: 1.617 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.6823, allocations: 15.97 kB / 0.6692 GB, free: 1.602 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.6824, allocations: 30.56 kB / 0.6693 GB, free: 1.562 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.6825, allocations: 15.94 kB / 0.6693 GB, free: 1.547 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.6827, allocations: 178.9 kB / 0.6694 GB, free: 1.332 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.6827, allocations: 0 / 0.6694 GB, free: 1.332 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.6827, allocations: 11.94 kB / 0.6695 GB, free: 1.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.6829, allocations: 61.67 kB / 0.6695 GB, free: 1.254 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.683, allocations: 0 / 0.6695 GB, free: 1.254 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.683, allocations: 0 / 0.6695 GB, free: 1.254 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.683, allocations: 0 / 0.6695 GB, free: 1.254 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.6832, allocations: 71.89 kB / 0.6696 GB, free: 1.184 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.6837, allocations: 272.9 kB / 0.6698 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.6839, allocations: 66.48 kB / 0.6699 GB, free: 0.793 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.6839, allocations: 0 / 0.6699 GB, free: 0.793 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.684, allocations: 38.61 kB / 0.6699 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.684, allocations: 0 / 0.6699 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.000437/0.6844, allocations: 125.7 kB / 0.6701 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.6845, allocations: 59.41 kB / 0.6701 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.6846, allocations: 89 kB / 0.6702 GB, free: 464 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.6846, allocations: 27.45 kB / 0.6702 GB, free: 432 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.6847, allocations: 92.08 kB / 0.6703 GB, free: 336 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.6847, allocations: 7.891 kB / 0.6703 GB, free: 328 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.6847, allocations: 0 / 0.6703 GB, free: 328 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6849, allocations: 314.8 kB / 0.6706 GB, free: 4 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.685, allocations: 32 kB / 0.6707 GB, free: 15.97 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.947e-05/0.6851, allocations: 27.98 kB / 0.6707 GB, free: 15.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.6852, allocations: 36.03 kB / 0.6707 GB, free: 15.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6853, allocations: 0 / 0.6707 GB, free: 15.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002593/0.6855, allocations: 97.56 kB / 0.6708 GB, free: 15.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.6856, allocations: 4 kB / 0.6708 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6856, allocations: 4 kB / 0.6708 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.6856, allocations: 0 / 0.6708 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.6857, allocations: 11.98 kB / 0.6708 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.6857, allocations: 3.953 kB / 0.6708 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.38e-05/0.6858, allocations: 20.02 kB / 0.6709 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.6858, allocations: 3.938 kB / 0.6709 GB, free: 15.76 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001105/0.6859, allocations: 117.8 kB / 0.671 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.686, allocations: 4 kB / 0.671 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.686, allocations: 3.531 kB / 0.671 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.686, allocations: 2.688 kB / 0.671 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.686, allocations: 0 / 0.671 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.686, allocations: 3.953 kB / 0.671 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.6862, allocations: 169.6 kB / 0.6711 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6863, allocations: 4 kB / 0.6711 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.649e-05/0.6863, allocations: 15.98 kB / 0.6712 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.6864, allocations: 0 / 0.6712 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.6864, allocations: 0 / 0.6712 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.6864, allocations: 3.984 kB / 0.6712 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6864, allocations: 0 / 0.6712 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.6867, allocations: 191.5 kB / 0.6713 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.6868, allocations: 85.02 kB / 0.6714 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.6868, allocations: 0 / 0.6714 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.6869, allocations: 16.02 kB / 0.6714 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.6869, allocations: 7.938 kB / 0.6715 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.687, allocations: 0 / 0.6715 GB, free: 15.06 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.893e-05/0.687, allocations: 87.52 kB / 0.6715 GB, free: 14.97 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.687, allocations: 0 / 0.6715 GB, free: 14.97 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001989/0.6872, allocations: 4 kB / 0.6715 GB, free: 14.97 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006539/0.6879, allocations: 0.7242 MB / 0.6722 GB, free: 14.22 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.6882, allocations: 63.95 kB / 0.6723 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6882, allocations: 3.938 kB / 0.6723 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.6883, allocations: 36.03 kB / 0.6723 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.6885, allocations: 4 kB / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.689, allocations: 158.8 kB / 0.6725 GB, free: 13.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.6894, allocations: 0.6848 MB / 0.6732 GB, free: 13.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.619e-05/0.6895, allocations: 3.984 kB / 0.6732 GB, free: 13.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.6895, allocations: 11.44 kB / 0.6732 GB, free: 13.19 MB / 474.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6895, allocations: 0 / 0.6732 GB, free: 13.19 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.7017, allocations: 1.16 MB / 0.6743 GB, free: 12.14 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.702, allocations: 176.4 kB / 0.6745 GB, free: 11.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/2.233, allocations: 0 / 0.6745 GB, free: 11.9 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)