Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.001756/0.001755, allocations: 97.36 kB / 15.69 MB, free: 480 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.00256/0.00256, allocations: 175.1 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.554/2.554, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.073/1.073, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003189, allocations: 8 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1572, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0009019/0.1581, allocations: 331.1 kB / 0.5571 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008689/0.159, allocations: 333.3 kB / 0.5574 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.1591, allocations: 0 / 0.5574 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.252e-05/0.1591, allocations: 0 / 0.5574 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.65e-05/0.1592, allocations: 0 / 0.5574 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.1596, allocations: 79.75 kB / 0.5574 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.914e-05/0.1597, allocations: 11.94 kB / 0.5575 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.1598, allocations: 4 kB / 0.5575 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.1598, allocations: 7.984 kB / 0.5575 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/0.1599, allocations: 23.91 kB / 0.5575 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1599, allocations: 0 / 0.5575 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.1605, allocations: 259.7 kB / 0.5577 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.1605, allocations: 4 kB / 0.5577 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.1605, allocations: 33.64 kB / 0.5578 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1607, allocations: 63.83 kB / 0.5578 GB, free: 10.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1607, allocations: 0 / 0.5578 GB, free: 10.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1608, allocations: 0 / 0.5578 GB, free: 10.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1608, allocations: 4 kB / 0.5578 GB, free: 10.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005763/0.1614, allocations: 351.6 kB / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.1614, allocations: 12.03 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.1615, allocations: 34.56 kB / 0.5582 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.939e-05/0.1616, allocations: 7.906 kB / 0.5582 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.1617, allocations: 163.1 kB / 0.5584 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1618, allocations: 0 / 0.5584 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.1618, allocations: 8 kB / 0.5584 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.162, allocations: 53.62 kB / 0.5584 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.162, allocations: 0 / 0.5584 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.162, allocations: 0 / 0.5584 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.162, allocations: 4 kB / 0.5584 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.998e-05/0.1621, allocations: 23.92 kB / 0.5585 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.1624, allocations: 169.6 kB / 0.5586 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1625, allocations: 62.48 kB / 0.5587 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009433/0.1635, allocations: 465.5 kB / 0.5591 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.1635, allocations: 30.56 kB / 0.5592 GB, free: 8.922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.1635, allocations: 0 / 0.5592 GB, free: 8.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001795/0.1653, allocations: 0.5953 MB / 0.5597 GB, free: 8.234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.1654, allocations: 59.39 kB / 0.5598 GB, free: 8.164 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/0.1655, allocations: 97.86 kB / 0.5599 GB, free: 8.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1655, allocations: 25.7 kB / 0.5599 GB, free: 8.027 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.1656, allocations: 84.14 kB / 0.56 GB, free: 7.941 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.1656, allocations: 35.45 kB / 0.56 GB, free: 7.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.1657, allocations: 4 kB / 0.56 GB, free: 7.902 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1658, allocations: 318.8 kB / 0.5603 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/0.1659, allocations: 19.98 kB / 0.5604 GB, free: 7.562 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-05/0.166, allocations: 23.98 kB / 0.5604 GB, free: 7.539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.425e-05/0.166, allocations: 20 kB / 0.5604 GB, free: 7.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1661, allocations: 0 / 0.5604 GB, free: 7.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002621/0.1663, allocations: 97.59 kB / 0.5605 GB, free: 7.418 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.1664, allocations: 11.95 kB / 0.5605 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.1664, allocations: 0 / 0.5605 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1664, allocations: 11.88 kB / 0.5605 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.1666, allocations: 19.98 kB / 0.5605 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1666, allocations: 0 / 0.5605 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.1667, allocations: 4 kB / 0.5605 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1667, allocations: 4 kB / 0.5605 GB, free: 7.367 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.1668, allocations: 117.8 kB / 0.5607 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.1669, allocations: 4 kB / 0.5607 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.1672, allocations: 108.7 kB / 0.5608 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1672, allocations: 8.094 kB / 0.5608 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1672, allocations: 7.938 kB / 0.5608 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1672, allocations: 0 / 0.5608 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.1678, allocations: 350.5 kB / 0.5611 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1678, allocations: 3.938 kB / 0.5611 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.168, allocations: 27.94 kB / 0.5611 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.168, allocations: 0 / 0.5611 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.168, allocations: 0 / 0.5611 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1681, allocations: 0 / 0.5611 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1681, allocations: 4 kB / 0.5611 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.1685, allocations: 219.1 kB / 0.5614 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-05/0.1686, allocations: 93.03 kB / 0.5614 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1686, allocations: 3.953 kB / 0.5615 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.1687, allocations: 4 kB / 0.5615 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.1688, allocations: 15.92 kB / 0.5615 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1688, allocations: 0 / 0.5615 GB, free: 6.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.1689, allocations: 79.47 kB / 0.5615 GB, free: 6.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1689, allocations: 4.062 kB / 0.5615 GB, free: 6.238 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005063/0.1694, allocations: 43.98 kB / 0.5616 GB, free: 6.195 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.1705, allocations: 0.7835 MB / 0.5624 GB, free: 5.387 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.1707, allocations: 59.91 kB / 0.5624 GB, free: 5.328 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1707, allocations: 0 / 0.5624 GB, free: 5.328 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.337e-05/0.1708, allocations: 40.86 kB / 0.5625 GB, free: 5.289 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.1711, allocations: 7.953 kB / 0.5625 GB, free: 5.281 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1723, allocations: 0.5152 MB / 0.563 GB, free: 4.715 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.1727, allocations: 0.6927 MB / 0.5636 GB, free: 3.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.687e-05/0.1728, allocations: 12.3 kB / 0.5637 GB, free: 3.984 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.1729, allocations: 15.44 kB / 0.5637 GB, free: 3.969 MB / 430.1 MB Notification: Performance of SimCode: time 9.21e-07/0.1729, allocations: 0 / 0.5637 GB, free: 3.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.229/2.402, allocations: 2.214 MB / 0.5658 GB, free: 1.926 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/2.402, allocations: 204.4 kB / 0.566 GB, free: 1.688 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.612/6.014, allocations: 3.125 kB / 0.566 GB, free: 1.688 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: