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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 103.1 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 195.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7403/0.7403, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 61.61 kB / 0.5572 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1565, allocations: 76.19 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002689/0.1593, allocations: 1.413 MB / 0.633 GB, free: 3.457 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002868/0.1596, allocations: 96.58 kB / 0.6331 GB, free: 3.359 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.1596, allocations: 3.938 kB / 0.6331 GB, free: 3.355 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.1597, allocations: 3.938 kB / 0.6331 GB, free: 3.352 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.1598, allocations: 3.938 kB / 0.6331 GB, free: 3.348 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.16, allocations: 19.91 kB / 0.6331 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.149e-05/0.1601, allocations: 31.92 kB / 0.6331 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.301e-05/0.1602, allocations: 7.984 kB / 0.6331 GB, free: 3.289 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.1602, allocations: 8 kB / 0.6331 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.1603, allocations: 15.92 kB / 0.6332 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1603, allocations: 0 / 0.6332 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-05/0.1603, allocations: 15.98 kB / 0.6332 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.1604, allocations: 3.984 kB / 0.6332 GB, free: 3.246 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.1604, allocations: 19.86 kB / 0.6332 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.1605, allocations: 27.97 kB / 0.6332 GB, free: 3.199 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1605, allocations: 0 / 0.6332 GB, free: 3.199 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1605, allocations: 4 kB / 0.6332 GB, free: 3.195 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1605, allocations: 4 kB / 0.6332 GB, free: 3.191 MB / 478.1 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.0004472/0.161, allocations: 342.2 kB / 0.6336 GB, free: 2.809 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.161, allocations: 12.03 kB / 0.6336 GB, free: 2.797 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.855e-05/0.1611, allocations: 34.73 kB / 0.6336 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.1613, allocations: 16.92 kB / 0.6336 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1614, allocations: 164.9 kB / 0.6338 GB, free: 2.539 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.1614, allocations: 384 / 0.6338 GB, free: 2.539 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.1615, allocations: 12.38 kB / 0.6338 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.1617, allocations: 62.16 kB / 0.6338 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1617, allocations: 3.938 kB / 0.6338 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1617, allocations: 0 / 0.6338 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1617, allocations: 0 / 0.6338 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.1619, allocations: 43.95 kB / 0.6339 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1624, allocations: 265.2 kB / 0.6341 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.1626, allocations: 54.42 kB / 0.6342 GB, free: 2.043 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1627, allocations: 32.89 kB / 0.6342 GB, free: 2.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1627, allocations: 4 kB / 0.6342 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1627, allocations: 34.56 kB / 0.6343 GB, free: 1.961 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.1627, allocations: 0 / 0.6343 GB, free: 1.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004163/0.1632, allocations: 97.62 kB / 0.6344 GB, free: 1.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.1632, allocations: 51.41 kB / 0.6344 GB, free: 1.797 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.1633, allocations: 105.8 kB / 0.6345 GB, free: 1.684 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1633, allocations: 37.77 kB / 0.6345 GB, free: 1.641 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.1634, allocations: 84.08 kB / 0.6346 GB, free: 1.555 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.1634, allocations: 7.891 kB / 0.6346 GB, free: 1.547 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.1635, allocations: 17.72 kB / 0.6346 GB, free: 1.523 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1636, allocations: 314.8 kB / 0.6349 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1637, allocations: 23.92 kB / 0.635 GB, free: 1.184 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.48e-05/0.1638, allocations: 31.97 kB / 0.635 GB, free: 1.152 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.164, allocations: 48.81 kB / 0.635 GB, free: 1.102 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.164, allocations: 3.938 kB / 0.6351 GB, free: 1.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002366/0.1643, allocations: 77.56 kB / 0.6351 GB, free: 1.016 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1643, allocations: 8.094 kB / 0.6351 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1643, allocations: 3.984 kB / 0.6351 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1643, allocations: 4 kB / 0.6351 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1644, allocations: 11.92 kB / 0.6352 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1645, allocations: 7.938 kB / 0.6352 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.225e-05/0.1645, allocations: 8 kB / 0.6352 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.1645, allocations: 0 / 0.6352 GB, free: 0.9727 MB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/0.1646, allocations: 114.4 kB / 0.6353 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.1646, allocations: 8 kB / 0.6353 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.1647, allocations: 7.531 kB / 0.6353 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1647, allocations: 0 / 0.6353 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1647, allocations: 0 / 0.6353 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1647, allocations: 0 / 0.6353 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.1649, allocations: 165.6 kB / 0.6355 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1649, allocations: 256 / 0.6355 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.652e-05/0.165, allocations: 15.98 kB / 0.6355 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.165, allocations: 0 / 0.6355 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.165, allocations: 0 / 0.6355 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.165, allocations: 0 / 0.6355 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.165, allocations: 4 kB / 0.6355 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.1653, allocations: 183.4 kB / 0.6356 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.1654, allocations: 89 kB / 0.6357 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1654, allocations: 0 / 0.6357 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.1655, allocations: 12.02 kB / 0.6357 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.1655, allocations: 0 / 0.6357 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1655, allocations: 4 kB / 0.6357 GB, free: 292 kB / 478.1 MB Notification: Performance of sorting global known variables: time 4.072e-05/0.1656, allocations: 87.27 kB / 0.6358 GB, free: 204 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1656, allocations: 0 / 0.6358 GB, free: 204 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.1658, allocations: 4 kB / 0.6358 GB, free: 200 kB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005347/0.1664, allocations: 0.7046 MB / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1666, allocations: 51.89 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1666, allocations: 0 / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.1667, allocations: 32.06 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1671, allocations: 13.66 kB / 0.6366 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.1677, allocations: 147.2 kB / 0.6368 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1679, allocations: 0.6729 MB / 0.6374 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.377e-05/0.168, allocations: 8.047 kB / 0.6374 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.168, allocations: 15.44 kB / 0.6374 GB, free: 14.46 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.168, allocations: 0 / 0.6374 GB, free: 14.46 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.1867, allocations: 1.467 MB / 0.6389 GB, free: 13.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/7.621, allocations: 14.2 kB / 0.6389 GB, free: 13.06 MB / 494.1 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/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)