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.001849/0.001849, allocations: 103 kB / 16.4 MB, free: 6.504 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.002352/0.002352, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.377/2.377, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9223/0.9223, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.3 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.154, allocations: 76.19 MB / 0.6316 GB, free: 4.828 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002267/0.1563, allocations: 0.5611 MB / 0.6322 GB, free: 4.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007735/0.1571, allocations: 331.1 kB / 0.6325 GB, free: 3.945 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.1571, allocations: 0 / 0.6325 GB, free: 3.945 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.1572, allocations: 0 / 0.6325 GB, free: 3.945 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.474e-06/0.1572, allocations: 0 / 0.6325 GB, free: 3.945 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.1579, allocations: 110.3 kB / 0.6326 GB, free: 3.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.178e-05/0.1579, allocations: 3.984 kB / 0.6326 GB, free: 3.836 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.158, allocations: 11.98 kB / 0.6326 GB, free: 3.824 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.136e-05/0.158, allocations: 0 / 0.6326 GB, free: 3.824 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.519e-05/0.158, allocations: 3.938 kB / 0.6326 GB, free: 3.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.158, allocations: 0 / 0.6326 GB, free: 3.82 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006235/0.1587, allocations: 271.7 kB / 0.6329 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.1587, allocations: 3.938 kB / 0.6329 GB, free: 3.551 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.1587, allocations: 0 / 0.6329 GB, free: 3.551 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.1591, allocations: 91.84 kB / 0.633 GB, free: 3.461 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1591, allocations: 0 / 0.633 GB, free: 3.461 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1591, allocations: 0 / 0.633 GB, free: 3.461 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1591, allocations: 0 / 0.633 GB, free: 3.461 MB / 478.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.0004711/0.1596, allocations: 335.6 kB / 0.6333 GB, free: 3.082 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.1597, allocations: 12.03 kB / 0.6333 GB, free: 3.07 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.1597, allocations: 30.75 kB / 0.6333 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.1598, allocations: 4.922 kB / 0.6333 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.16, allocations: 160.4 kB / 0.6335 GB, free: 2.832 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.16, allocations: 384 / 0.6335 GB, free: 2.832 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.16, allocations: 384 / 0.6335 GB, free: 2.832 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1601, allocations: 30.27 kB / 0.6335 GB, free: 2.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1602, allocations: 3.938 kB / 0.6335 GB, free: 2.793 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1602, allocations: 4 kB / 0.6335 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1602, allocations: 3.938 kB / 0.6335 GB, free: 2.785 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.1603, allocations: 7.938 kB / 0.6335 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.1605, allocations: 149.7 kB / 0.6337 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.1606, allocations: 14.58 kB / 0.6337 GB, free: 2.559 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.1606, allocations: 8.953 kB / 0.6337 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008555/0.1615, allocations: 425.5 kB / 0.6341 GB, free: 2.039 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.1616, allocations: 34.56 kB / 0.6342 GB, free: 1.996 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 2.084e-06/0.1616, allocations: 0 / 0.6342 GB, free: 1.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002156/0.1618, allocations: 37.58 kB / 0.6342 GB, free: 1.953 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.1619, allocations: 59.33 kB / 0.6342 GB, free: 1.883 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.951e-05/0.1619, allocations: 93.98 kB / 0.6343 GB, free: 1.781 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.162, allocations: 29.7 kB / 0.6344 GB, free: 1.746 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.162, allocations: 80.14 kB / 0.6344 GB, free: 1.664 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.1621, allocations: 7.906 kB / 0.6344 GB, free: 1.656 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.1621, allocations: 9.719 kB / 0.6345 GB, free: 1.641 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002598/0.1624, allocations: 310.8 kB / 0.6348 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.1624, allocations: 4 kB / 0.6348 GB, free: 1.324 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.908e-06/0.1624, allocations: 0 / 0.6348 GB, free: 1.324 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.1625, allocations: 16.92 kB / 0.6348 GB, free: 1.305 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1625, allocations: 0 / 0.6348 GB, free: 1.305 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001235/0.1626, allocations: 37.62 kB / 0.6348 GB, free: 1.262 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.1627, allocations: 4 kB / 0.6348 GB, free: 1.258 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1627, allocations: 3.938 kB / 0.6348 GB, free: 1.254 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1627, allocations: 4 kB / 0.6348 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-05/0.1628, allocations: 0 / 0.6348 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1628, allocations: 0 / 0.6348 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.1628, allocations: 6.812 kB / 0.6348 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1628, allocations: 0 / 0.6348 GB, free: 1.246 MB / 478.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.0001045/0.163, allocations: 113.9 kB / 0.6349 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.163, allocations: 0 / 0.6349 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.1631, allocations: 48.69 kB / 0.635 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1632, allocations: 3.984 kB / 0.635 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1632, allocations: 0 / 0.635 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1632, allocations: 4 kB / 0.635 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1633, allocations: 145.6 kB / 0.6351 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1633, allocations: 0 / 0.6351 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/0.1634, allocations: 8.016 kB / 0.6351 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.1634, allocations: 4 kB / 0.6351 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1634, allocations: 3.938 kB / 0.6351 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1634, allocations: 0 / 0.6351 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1634, allocations: 0 / 0.6351 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.1636, allocations: 53.14 kB / 0.6352 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.1636, allocations: 85.09 kB / 0.6353 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.1637, allocations: 7.969 kB / 0.6353 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.23e-05/0.1637, allocations: 0 / 0.6353 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.1637, allocations: 0 / 0.6353 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1637, allocations: 0 / 0.6353 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.685e-05/0.1638, allocations: 79.22 kB / 0.6354 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1638, allocations: 0 / 0.6354 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003607/0.1641, allocations: 16 kB / 0.6354 GB, free: 0.582 MB / 478.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.000595/0.1647, allocations: 0.6085 MB / 0.636 GB, free: 15.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.99e-05/0.1648, allocations: 4 kB / 0.636 GB, free: 15.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1649, allocations: 0 / 0.636 GB, free: 15.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.1649, allocations: 3.938 kB / 0.636 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.1651, allocations: 13.23 kB / 0.636 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.1656, allocations: 110.9 kB / 0.6361 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1659, allocations: 0.6729 MB / 0.6367 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.501e-05/0.166, allocations: 3.984 kB / 0.6368 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.166, allocations: 11.44 kB / 0.6368 GB, free: 15.06 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.166, allocations: 0 / 0.6368 GB, free: 15.06 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1355/0.3015, allocations: 1.184 MB / 0.6379 GB, free: 13.96 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.33, allocations: 6.656 kB / 0.6379 GB, free: 13.96 MB / 494.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)