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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008941/0.0008942, allocations: 92.88 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 181.4 kB / 16.92 MB, free: 6.914 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.329/1.329, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6404/0.6404, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005302/0.0005302, allocations: 16 kB / 496 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1537, allocations: 77.53 MB / 0.5601 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007674/0.1545, allocations: 319.7 kB / 0.5604 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003126/0.1549, allocations: 90.33 kB / 0.5604 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.056e-05/0.1549, allocations: 0 / 0.5604 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.334e-05/0.1549, allocations: 0 / 0.5604 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.348e-05/0.155, allocations: 0 / 0.5604 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.1551, allocations: 17.78 kB / 0.5605 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.292e-05/0.1552, allocations: 12 kB / 0.5605 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.1552, allocations: 3.984 kB / 0.5605 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.948e-05/0.1552, allocations: 7.938 kB / 0.5605 GB, free: 8.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.491e-05/0.1553, allocations: 4 kB / 0.5605 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.1553, allocations: 0 / 0.5605 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.14e-05/0.1554, allocations: 15.98 kB / 0.5605 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.1554, allocations: 0 / 0.5605 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.1554, allocations: 29.69 kB / 0.5605 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.597e-05/0.1555, allocations: 23.91 kB / 0.5606 GB, free: 8.422 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1555, allocations: 0 / 0.5606 GB, free: 8.422 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1555, allocations: 0 / 0.5606 GB, free: 8.422 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1556, allocations: 0 / 0.5606 GB, free: 8.422 MB / 430.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.000318/0.1559, allocations: 319.6 kB / 0.5609 GB, free: 8.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1559, allocations: 12.02 kB / 0.5609 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.156, allocations: 30.75 kB / 0.5609 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.1561, allocations: 16.92 kB / 0.5609 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.868e-05/0.1562, allocations: 160.4 kB / 0.5611 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.1563, allocations: 384 / 0.5611 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.1563, allocations: 384 / 0.5611 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.1564, allocations: 42.19 kB / 0.5611 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1564, allocations: 3.938 kB / 0.5611 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1564, allocations: 8 kB / 0.5611 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1564, allocations: 0 / 0.5611 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.1565, allocations: 11.98 kB / 0.5611 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.1567, allocations: 149.7 kB / 0.5613 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1569, allocations: 38.61 kB / 0.5613 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.969e-05/0.1569, allocations: 24.84 kB / 0.5613 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.157, allocations: 0 / 0.5613 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.157, allocations: 34.56 kB / 0.5614 GB, free: 7.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.157, allocations: 0 / 0.5614 GB, free: 7.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002112/0.1572, allocations: 53.61 kB / 0.5614 GB, free: 7.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.1573, allocations: 55.41 kB / 0.5615 GB, free: 7.289 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.382e-05/0.1573, allocations: 89.86 kB / 0.5616 GB, free: 7.191 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1573, allocations: 29.7 kB / 0.5616 GB, free: 7.156 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.1574, allocations: 84.08 kB / 0.5617 GB, free: 7.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.1574, allocations: 16.03 kB / 0.5617 GB, free: 7.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.1574, allocations: 9.719 kB / 0.5617 GB, free: 7.039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1576, allocations: 318.8 kB / 0.562 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.1576, allocations: 11.94 kB / 0.562 GB, free: 6.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.38e-05/0.1577, allocations: 11.92 kB / 0.562 GB, free: 6.695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.315e-05/0.1578, allocations: 20.86 kB / 0.562 GB, free: 6.672 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1578, allocations: 0 / 0.562 GB, free: 6.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001216/0.1579, allocations: 49.95 kB / 0.5621 GB, free: 6.617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1579, allocations: 6.031 kB / 0.5621 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1579, allocations: 3.938 kB / 0.5621 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.158, allocations: 4 kB / 0.5621 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.1584, allocations: 39.98 kB / 0.5621 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.1596, allocations: 1.317 MB / 0.5634 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.1597, allocations: 0 / 0.5634 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1597, allocations: 4.031 kB / 0.5634 GB, free: 5.117 MB / 430.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 (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 8.15e-05/0.1598, allocations: 113.8 kB / 0.5635 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.1598, allocations: 4.094 kB / 0.5635 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.388e-05/0.1598, allocations: 3.5 kB / 0.5635 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1598, allocations: 4 kB / 0.5635 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1598, allocations: 0 / 0.5635 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1598, allocations: 0 / 0.5635 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.846e-05/0.1599, allocations: 153.6 kB / 0.5637 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1599, allocations: 7.938 kB / 0.5637 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.1603, allocations: 47.92 kB / 0.5637 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1603, allocations: 0 / 0.5637 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.1603, allocations: 0 / 0.5637 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.1614, allocations: 1.302 MB / 0.565 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1614, allocations: 0 / 0.565 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.1616, allocations: 89.14 kB / 0.5651 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.1616, allocations: 81.14 kB / 0.5652 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-06/0.1616, allocations: 0 / 0.5652 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.553e-05/0.1617, allocations: 0 / 0.5652 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.1617, allocations: 7.984 kB / 0.5652 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1617, allocations: 4 kB / 0.5652 GB, free: 3.082 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.728e-05/0.1617, allocations: 75.28 kB / 0.5653 GB, free: 3.008 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1618, allocations: 4 kB / 0.5653 GB, free: 3.004 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001924/0.1619, allocations: 7.938 kB / 0.5653 GB, free: 2.996 MB / 430.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 (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.0003999/0.1624, allocations: 0.6085 MB / 0.5659 GB, free: 2.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000442/0.1628, allocations: 59.92 kB / 0.5659 GB, free: 2.297 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1628, allocations: 7.875 kB / 0.5659 GB, free: 2.289 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.1631, allocations: 35.95 kB / 0.566 GB, free: 2.254 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.1632, allocations: 9.719 kB / 0.566 GB, free: 2.246 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.1636, allocations: 132.5 kB / 0.5661 GB, free: 2.078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.1638, allocations: 0.6731 MB / 0.5668 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.206e-05/0.1639, allocations: 0 / 0.5668 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.1639, allocations: 7.438 kB / 0.5668 GB, free: 1.371 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1639, allocations: 4 kB / 0.5668 GB, free: 1.367 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07913/0.243, allocations: 1.057 MB / 0.5678 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002928/0.2434, allocations: 240.3 kB / 0.568 GB, free: 244 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/2.457, allocations: 0 / 0.568 GB, free: 244 kB / 430.1 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/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)