Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.004493/0.004493, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.001018/0.001018, allocations: 200.2 kB / 16.67 MB, free: 5.98 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 286.5 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8902/0.8902, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 107.8 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1554, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001727/0.1571, allocations: 0.5897 MB / 0.7665 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003138/0.1575, allocations: 87.73 kB / 0.7666 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.1575, allocations: 4 kB / 0.7666 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.1575, allocations: 0 / 0.7666 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.574e-05/0.1576, allocations: 4 kB / 0.7666 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.1578, allocations: 23.84 kB / 0.7666 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.854e-05/0.1579, allocations: 7.984 kB / 0.7666 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.1579, allocations: 0 / 0.7666 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.096e-05/0.158, allocations: 4 kB / 0.7666 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.926e-05/0.158, allocations: 0 / 0.7666 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1581, allocations: 4 kB / 0.7667 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.354e-05/0.1581, allocations: 15.98 kB / 0.7667 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.1581, allocations: 8 kB / 0.7667 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.1582, allocations: 7.938 kB / 0.7667 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.782e-05/0.1583, allocations: 15.95 kB / 0.7667 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1583, allocations: 3.938 kB / 0.7667 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1583, allocations: 0 / 0.7667 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.1583, allocations: 4 kB / 0.7667 GB, free: 8.137 MB / 0.5606 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.0003551/0.1587, allocations: 311.9 kB / 0.767 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1587, allocations: 8.031 kB / 0.767 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.1587, allocations: 38.73 kB / 0.767 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.1589, allocations: 12.92 kB / 0.7671 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.436e-05/0.159, allocations: 164.3 kB / 0.7672 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.159, allocations: 384 / 0.7672 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.159, allocations: 4.312 kB / 0.7672 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.1592, allocations: 42.25 kB / 0.7673 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1592, allocations: 7.922 kB / 0.7673 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1592, allocations: 0 / 0.7673 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1592, allocations: 0 / 0.7673 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.576e-05/0.1593, allocations: 19.98 kB / 0.7673 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.1594, allocations: 153.6 kB / 0.7674 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1596, allocations: 42.55 kB / 0.7675 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.1596, allocations: 12.91 kB / 0.7675 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.1597, allocations: 7.938 kB / 0.7675 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.1597, allocations: 34.56 kB / 0.7675 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1597, allocations: 0 / 0.7675 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001948/0.1599, allocations: 61.61 kB / 0.7676 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1599, allocations: 51.41 kB / 0.7676 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.194e-05/0.16, allocations: 89.86 kB / 0.7677 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.16, allocations: 25.7 kB / 0.7677 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.16, allocations: 80.14 kB / 0.7678 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.16, allocations: 7.906 kB / 0.7678 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.1601, allocations: 21.7 kB / 0.7679 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.1602, allocations: 314.8 kB / 0.7682 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/0.1602, allocations: 4 kB / 0.7682 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.1603, allocations: 11.98 kB / 0.7682 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.38e-05/0.1603, allocations: 24.84 kB / 0.7682 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1603, allocations: 0 / 0.7682 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001027/0.1605, allocations: 45.69 kB / 0.7682 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1605, allocations: 8 kB / 0.7682 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1605, allocations: 3.938 kB / 0.7682 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1605, allocations: 0 / 0.7682 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.1609, allocations: 39.94 kB / 0.7683 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.1621, allocations: 1.412 MB / 0.7697 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.1621, allocations: 0 / 0.7697 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1621, allocations: 4.031 kB / 0.7697 GB, free: 4.734 MB / 0.5606 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.8e-05/0.1622, allocations: 114.4 kB / 0.7698 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.1622, allocations: 4.031 kB / 0.7698 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.063e-05/0.1623, allocations: 15.44 kB / 0.7698 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1623, allocations: 8 kB / 0.7698 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.1623, allocations: 0 / 0.7698 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1623, allocations: 0 / 0.7698 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.598e-05/0.1624, allocations: 153.6 kB / 0.7699 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1624, allocations: 0 / 0.7699 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.1627, allocations: 47.94 kB / 0.77 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1628, allocations: 0 / 0.77 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1628, allocations: 3.984 kB / 0.77 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.1638, allocations: 1.405 MB / 0.7714 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1639, allocations: 4.125 kB / 0.7714 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.164, allocations: 73.05 kB / 0.7714 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.164, allocations: 81.02 kB / 0.7715 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-06/0.164, allocations: 3.938 kB / 0.7715 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.574e-05/0.1641, allocations: 4 kB / 0.7715 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.1641, allocations: 3.984 kB / 0.7715 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1641, allocations: 4 kB / 0.7715 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.2e-05/0.1641, allocations: 79.28 kB / 0.7716 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1641, allocations: 0 / 0.7716 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001797/0.1643, allocations: 4 kB / 0.7716 GB, free: 2.5 MB / 0.5606 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003701/0.1647, allocations: 0.6163 MB / 0.7722 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004339/0.1651, allocations: 63.92 kB / 0.7723 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1651, allocations: 0 / 0.7723 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.1654, allocations: 48.06 kB / 0.7723 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.1655, allocations: 96 / 0.7723 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.1659, allocations: 126.6 kB / 0.7724 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.1661, allocations: 0.6729 MB / 0.7731 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.1662, allocations: 0 / 0.7731 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.1662, allocations: 19.42 kB / 0.7731 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.1662, allocations: 0 / 0.7731 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3073/0.4735, allocations: 1.291 MB / 0.7744 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/10.72, allocations: 4.469 kB / 0.7744 GB, free: 14.46 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)