Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.0009731/0.000973, allocations: 178.8 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.4541/0.4541, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.263/1.263, allocations: 221.3 MB / 348.3 MB, free: 460 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.0008606/0.0008606, allocations: 100.3 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.233e-05, allocations: 4 kB / 0.4897 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3278, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4495, allocations: 100.7 MB / 0.6587 GB, free: 3.555 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.4498, allocations: 75.89 kB / 0.6588 GB, free: 3.48 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002286/0.4521, allocations: 0.9622 MB / 0.6597 GB, free: 2.527 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4521, allocations: 0 / 0.6597 GB, free: 2.527 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.4521, allocations: 3.938 kB / 0.6597 GB, free: 2.523 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002668/0.4524, allocations: 317.9 kB / 0.66 GB, free: 2.172 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4524, allocations: 15.98 kB / 0.66 GB, free: 2.156 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.4525, allocations: 34.56 kB / 0.6601 GB, free: 2.113 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.4526, allocations: 11.94 kB / 0.6601 GB, free: 2.102 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/0.4527, allocations: 159.1 kB / 0.6602 GB, free: 1.906 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.4528, allocations: 3.938 kB / 0.6602 GB, free: 1.902 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.4528, allocations: 0 / 0.6602 GB, free: 1.902 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.698e-05/0.4529, allocations: 46.83 kB / 0.6603 GB, free: 1.852 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4529, allocations: 0 / 0.6603 GB, free: 1.852 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.4529, allocations: 0 / 0.6603 GB, free: 1.852 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.4529, allocations: 2.344 kB / 0.6603 GB, free: 1.852 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.729e-05/0.453, allocations: 11.94 kB / 0.6603 GB, free: 1.84 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.4531, allocations: 157.5 kB / 0.6604 GB, free: 1.637 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.4532, allocations: 42.55 kB / 0.6605 GB, free: 1.586 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.4533, allocations: 14.14 kB / 0.6605 GB, free: 1.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.4533, allocations: 0 / 0.6605 GB, free: 1.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.4533, allocations: 30.56 kB / 0.6605 GB, free: 1.531 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.4533, allocations: 0 / 0.6605 GB, free: 1.531 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001194/0.4534, allocations: 45.78 kB / 0.6606 GB, free: 1.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.4535, allocations: 51.41 kB / 0.6606 GB, free: 1.418 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.702e-05/0.4535, allocations: 85 kB / 0.6607 GB, free: 1.328 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.4535, allocations: 29.7 kB / 0.6607 GB, free: 1.293 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.4536, allocations: 80.14 kB / 0.6608 GB, free: 1.211 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.4536, allocations: 7.906 kB / 0.6608 GB, free: 1.203 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.4536, allocations: 0 / 0.6608 GB, free: 1.203 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4537, allocations: 322.7 kB / 0.6611 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.4537, allocations: 7.984 kB / 0.6611 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.4538, allocations: 5.688 kB / 0.6611 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.4538, allocations: 4 kB / 0.6611 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4538, allocations: 0 / 0.6611 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.926e-05/0.4539, allocations: 45.69 kB / 0.6612 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4539, allocations: 4 kB / 0.6612 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4539, allocations: 0 / 0.6612 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.4539, allocations: 7.938 kB / 0.6612 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.4543, allocations: 35.94 kB / 0.6612 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.4554, allocations: 1.299 MB / 0.6625 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/0.4554, allocations: 160 / 0.6625 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4554, allocations: 11.94 kB / 0.6625 GB, free: 15.32 MB / 490.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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.543e-05/0.4555, allocations: 105 kB / 0.6626 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.4555, allocations: 3.984 kB / 0.6626 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.548e-06/0.4555, allocations: 3.5 kB / 0.6626 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.4555, allocations: 0 / 0.6626 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.4555, allocations: 0 / 0.6626 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.4555, allocations: 0 / 0.6626 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.723e-05/0.4556, allocations: 157.6 kB / 0.6628 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4557, allocations: 3.469 kB / 0.6628 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.456, allocations: 51.88 kB / 0.6628 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.456, allocations: 0 / 0.6628 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.4561, allocations: 0 / 0.6628 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008892/0.4569, allocations: 1.282 MB / 0.6641 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.457, allocations: 0 / 0.6641 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.293e-05/0.4571, allocations: 81.2 kB / 0.6642 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.4571, allocations: 77.11 kB / 0.6642 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-06/0.4571, allocations: 7.984 kB / 0.6642 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.764e-05/0.4571, allocations: 0 / 0.6642 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.4572, allocations: 0 / 0.6642 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.4572, allocations: 4 kB / 0.6642 GB, free: 13.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.316e-05/0.4572, allocations: 75.28 kB / 0.6643 GB, free: 13.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4572, allocations: 0 / 0.6643 GB, free: 13.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.4574, allocations: 8 kB / 0.6643 GB, free: 13.25 MB / 490.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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003655/0.4578, allocations: 0.6101 MB / 0.6649 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.4581, allocations: 51.94 kB / 0.665 GB, free: 12.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4581, allocations: 0 / 0.665 GB, free: 12.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.4583, allocations: 28.14 kB / 0.665 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.32e-05/0.4584, allocations: 4 kB / 0.665 GB, free: 12.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.4587, allocations: 98.73 kB / 0.6651 GB, free: 12.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.4588, allocations: 0.6771 MB / 0.6657 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.521e-05/0.4589, allocations: 7.969 kB / 0.6658 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.4589, allocations: 11.44 kB / 0.6658 GB, free: 11.68 MB / 490.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4589, allocations: 0 / 0.6658 GB, free: 11.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.4704, allocations: 1.059 MB / 0.6668 GB, free: 10.82 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.4706, allocations: 192.3 kB / 0.667 GB, free: 10.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.313/1.783, allocations: 4 kB / 0.667 GB, free: 10.59 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)