Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",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.001166/0.001166, allocations: 104.1 kB / 15.88 MB, free: 4 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: 199.7 kB / 16.79 MB, free: 6.809 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.297/1.297, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6706/0.6706, allocations: 115.3 MB / 406 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 64.22 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1517, allocations: 76.19 MB / 0.5559 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001873/0.1536, allocations: 0.6276 MB / 0.5565 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007663/0.1544, allocations: 365.4 kB / 0.5568 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.869e-06/0.1544, allocations: 0 / 0.5568 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.1545, allocations: 0 / 0.5568 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.809e-06/0.1545, allocations: 0 / 0.5568 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.1549, allocations: 75.78 kB / 0.5569 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.115e-05/0.155, allocations: 0 / 0.5569 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.155, allocations: 0 / 0.5569 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.666e-05/0.155, allocations: 4 kB / 0.5569 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.757e-05/0.1551, allocations: 7.984 kB / 0.5569 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1551, allocations: 0 / 0.5569 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004322/0.1555, allocations: 267.7 kB / 0.5572 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.1555, allocations: 4 kB / 0.5572 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.1556, allocations: 0 / 0.5572 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.1558, allocations: 91.84 kB / 0.5573 GB, free: 9.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1558, allocations: 0 / 0.5573 GB, free: 9.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1558, allocations: 0 / 0.5573 GB, free: 9.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1559, allocations: 0 / 0.5573 GB, free: 9.281 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003236/0.1562, allocations: 335.5 kB / 0.5576 GB, free: 8.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1562, allocations: 12.03 kB / 0.5576 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.1563, allocations: 34.75 kB / 0.5576 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.1563, allocations: 4.875 kB / 0.5576 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.983e-05/0.1564, allocations: 160.4 kB / 0.5578 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.1564, allocations: 384 / 0.5578 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.1564, allocations: 384 / 0.5578 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.265e-05/0.1565, allocations: 30.27 kB / 0.5578 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.1565, allocations: 3.938 kB / 0.5578 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1566, allocations: 0 / 0.5578 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1566, allocations: 0 / 0.5578 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.259e-05/0.1566, allocations: 7.984 kB / 0.5578 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.1568, allocations: 149.7 kB / 0.558 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.826e-05/0.1568, allocations: 18.52 kB / 0.558 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.1569, allocations: 4.859 kB / 0.558 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005047/0.1574, allocations: 433.5 kB / 0.5584 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.1574, allocations: 30.56 kB / 0.5584 GB, free: 7.816 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.1574, allocations: 0 / 0.5584 GB, free: 7.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001457/0.1576, allocations: 45.56 kB / 0.5585 GB, free: 7.766 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.1576, allocations: 51.41 kB / 0.5585 GB, free: 7.703 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.355e-05/0.1576, allocations: 89.86 kB / 0.5586 GB, free: 7.605 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.1577, allocations: 29.7 kB / 0.5586 GB, free: 7.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.1577, allocations: 88.2 kB / 0.5587 GB, free: 7.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1577, allocations: 3.906 kB / 0.5587 GB, free: 7.477 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.1578, allocations: 13.72 kB / 0.5587 GB, free: 7.457 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1579, allocations: 310.8 kB / 0.559 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.918e-06/0.1579, allocations: 0 / 0.559 GB, free: 7.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-06/0.1579, allocations: 4 kB / 0.559 GB, free: 7.141 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.902e-05/0.158, allocations: 8.844 kB / 0.559 GB, free: 7.129 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.158, allocations: 0 / 0.559 GB, free: 7.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.102e-05/0.1581, allocations: 45.7 kB / 0.5591 GB, free: 7.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1581, allocations: 4 kB / 0.5591 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1581, allocations: 3.938 kB / 0.5591 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1581, allocations: 0 / 0.5591 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.407e-05/0.1582, allocations: 4 kB / 0.5591 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1582, allocations: 0 / 0.5591 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.485e-05/0.1582, allocations: 0 / 0.5591 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1582, allocations: 3.938 kB / 0.5591 GB, free: 7.062 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 (1): * Single equations (assignments): 1 * 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 0.0001247/0.1583, allocations: 105.8 kB / 0.5592 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.1584, allocations: 12.02 kB / 0.5592 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.1585, allocations: 44.77 kB / 0.5593 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1585, allocations: 0 / 0.5593 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1585, allocations: 0 / 0.5593 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1585, allocations: 0 / 0.5593 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.398e-05/0.1586, allocations: 146 kB / 0.5594 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1586, allocations: 7.938 kB / 0.5594 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.411e-05/0.1586, allocations: 0 / 0.5594 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1586, allocations: 0 / 0.5594 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1587, allocations: 7.969 kB / 0.5594 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1587, allocations: 3.984 kB / 0.5594 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1587, allocations: 4 kB / 0.5594 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.449e-05/0.1588, allocations: 57.12 kB / 0.5595 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.1588, allocations: 77.11 kB / 0.5595 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.1588, allocations: 3.938 kB / 0.5596 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-06/0.1588, allocations: 4 kB / 0.5596 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.1589, allocations: 4.031 kB / 0.5596 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.1589, allocations: 0 / 0.5596 GB, free: 6.496 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.835e-05/0.1589, allocations: 75.28 kB / 0.5596 GB, free: 6.422 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1589, allocations: 0 / 0.5596 GB, free: 6.422 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002066/0.1591, allocations: 15.94 kB / 0.5596 GB, free: 6.406 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 (1): * Single equations (assignments): 1 * 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.0004521/0.1596, allocations: 0.6163 MB / 0.5602 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.565e-05/0.1596, allocations: 3.984 kB / 0.5603 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1597, allocations: 7.938 kB / 0.5603 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.494e-06/0.1597, allocations: 0 / 0.5603 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.1598, allocations: 0 / 0.5603 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.1601, allocations: 112.3 kB / 0.5604 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.1604, allocations: 0.677 MB / 0.561 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.053e-05/0.1604, allocations: 4.125 kB / 0.561 GB, free: 4.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.1604, allocations: 7.438 kB / 0.561 GB, free: 4.883 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1604, allocations: 0 / 0.561 GB, free: 4.883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1271/0.2875, allocations: 1.05 MB / 0.5621 GB, free: 3.938 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.2878, allocations: 208 kB / 0.5623 GB, free: 3.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.081, allocations: 0 / 0.5623 GB, free: 3.68 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)