Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_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.0008774/0.0008774, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006097/0.006097, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9912/0.9912, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 12 kB / 0.5165 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1591, allocations: 83.42 MB / 0.598 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.001492/0.1606, allocations: 1.155 MB / 0.5991 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002677/0.1609, allocations: 92.59 kB / 0.5992 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.161, allocations: 4 kB / 0.5992 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.161, allocations: 0 / 0.5992 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.99e-05/0.161, allocations: 7.875 kB / 0.5992 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.1612, allocations: 11.98 kB / 0.5992 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.712e-05/0.1612, allocations: 31.91 kB / 0.5992 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.271e-05/0.1613, allocations: 4 kB / 0.5992 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.1614, allocations: 7.984 kB / 0.5992 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.684e-05/0.1614, allocations: 7.938 kB / 0.5993 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1614, allocations: 4 kB / 0.5993 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.093e-05/0.1615, allocations: 15.98 kB / 0.5993 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.1615, allocations: 7.984 kB / 0.5993 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.1615, allocations: 37.58 kB / 0.5993 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.797e-05/0.1616, allocations: 31.94 kB / 0.5993 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1617, allocations: 0 / 0.5993 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.695e-06/0.1617, allocations: 0 / 0.5993 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.1617, allocations: 4 kB / 0.5994 GB, free: 6.23 MB / 0.4981 GB 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.000379/0.1621, allocations: 347.7 kB / 0.5997 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1621, allocations: 8.031 kB / 0.5997 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.1621, allocations: 34.69 kB / 0.5997 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.1623, allocations: 20.86 kB / 0.5997 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1624, allocations: 172.3 kB / 0.5999 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1624, allocations: 4.375 kB / 0.5999 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.1624, allocations: 384 / 0.5999 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.1627, allocations: 74.17 kB / 0.6 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1627, allocations: 3.938 kB / 0.6 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1627, allocations: 0 / 0.6 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1627, allocations: 0 / 0.6 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.1629, allocations: 67.92 kB / 0.6001 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.1633, allocations: 261 kB / 0.6003 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.1636, allocations: 70.42 kB / 0.6004 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1637, allocations: 36.89 kB / 0.6004 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.1637, allocations: 0 / 0.6004 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.1637, allocations: 42.56 kB / 0.6004 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1637, allocations: 0 / 0.6004 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004122/0.1642, allocations: 117.7 kB / 0.6006 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.1642, allocations: 55.41 kB / 0.6006 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.1643, allocations: 101.8 kB / 0.6007 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1643, allocations: 29.7 kB / 0.6007 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.1643, allocations: 88.08 kB / 0.6008 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.1644, allocations: 11.83 kB / 0.6008 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.1644, allocations: 9.719 kB / 0.6008 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1645, allocations: 322.9 kB / 0.6011 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1646, allocations: 31.97 kB / 0.6012 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1647, allocations: 27.98 kB / 0.6012 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1649, allocations: 60.81 kB / 0.6013 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.165, allocations: 12 kB / 0.6013 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002474/0.1652, allocations: 97.55 kB / 0.6014 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1652, allocations: 4 kB / 0.6014 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1652, allocations: 32 / 0.6014 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.1653, allocations: 4 kB / 0.6014 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1654, allocations: 19.92 kB / 0.6014 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.1654, allocations: 0 / 0.6014 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/0.1654, allocations: 11.98 kB / 0.6014 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1655, allocations: 0 / 0.6014 GB, free: 3.891 MB / 0.4981 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 () * 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.209e-05/0.1655, allocations: 125.7 kB / 0.6015 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.1656, allocations: 0 / 0.6015 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.1656, allocations: 3.531 kB / 0.6015 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1656, allocations: 0 / 0.6015 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1656, allocations: 0 / 0.6015 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1656, allocations: 4 kB / 0.6015 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.1658, allocations: 169.6 kB / 0.6017 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1658, allocations: 3.938 kB / 0.6017 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.1659, allocations: 15.98 kB / 0.6017 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1659, allocations: 4 kB / 0.6017 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1659, allocations: 0 / 0.6017 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1659, allocations: 0 / 0.6017 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1659, allocations: 0 / 0.6017 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.1662, allocations: 195.6 kB / 0.6019 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.1663, allocations: 85 kB / 0.602 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1663, allocations: 4 kB / 0.602 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.1664, allocations: 11.98 kB / 0.602 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.1664, allocations: 8 kB / 0.602 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.1664, allocations: 4.031 kB / 0.602 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.1665, allocations: 79.28 kB / 0.6021 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1665, allocations: 0 / 0.6021 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002083/0.1667, allocations: 4 kB / 0.6021 GB, free: 3.09 MB / 0.4981 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 () * 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.0005687/0.1673, allocations: 0.7241 MB / 0.6028 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.1675, allocations: 71.91 kB / 0.6029 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1675, allocations: 0 / 0.6029 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.1677, allocations: 36.05 kB / 0.6029 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.1679, allocations: 3.984 kB / 0.6029 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.1684, allocations: 166.3 kB / 0.6031 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.1687, allocations: 0.677 MB / 0.6037 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.991e-05/0.1687, allocations: 4.062 kB / 0.6037 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.1688, allocations: 11.44 kB / 0.6037 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.1688, allocations: 0 / 0.6037 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009514/0.1783, allocations: 1.195 MB / 0.6049 GB, free: 256 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2448/0.4231, allocations: 205.6 kB / 0.6051 GB, free: 42.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.131, allocations: 1.125 kB / 0.6051 GB, free: 42.88 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)