Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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: translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009465/0.0009464, allocations: 97.52 kB / 15.69 MB, free: 488 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.0009865/0.0009865, allocations: 171 kB / 16.56 MB, free: 6.391 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.31/1.31, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6977/0.6977, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 17.69 kB / 493.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 77.15 MB / 0.5569 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0007753/0.1424, allocations: 311 kB / 0.5571 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006496/0.1431, allocations: 317.3 kB / 0.5575 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.483e-05/0.1431, allocations: 0 / 0.5575 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.999e-06/0.1431, allocations: 0 / 0.5575 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.503e-05/0.1432, allocations: 7.938 kB / 0.5575 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.1435, allocations: 75.16 kB / 0.5575 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.209e-05/0.1436, allocations: 3.984 kB / 0.5575 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.1436, allocations: 0 / 0.5575 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.185e-05/0.1436, allocations: 11.98 kB / 0.5575 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.1437, allocations: 4 kB / 0.5575 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1437, allocations: 0 / 0.5575 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.1441, allocations: 255.7 kB / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.1441, allocations: 7.938 kB / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.1441, allocations: 25.7 kB / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.1442, allocations: 71.88 kB / 0.5579 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1442, allocations: 0 / 0.5579 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1443, allocations: 0 / 0.5579 GB, free: 10.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1443, allocations: 0 / 0.5579 GB, free: 10.52 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003663/0.1446, allocations: 335.4 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1447, allocations: 8.031 kB / 0.5582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.1447, allocations: 4 kB / 0.5582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1448, allocations: 163.1 kB / 0.5584 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1449, allocations: 4 kB / 0.5584 GB, free: 9.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1449, allocations: 4 kB / 0.5584 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.145, allocations: 33.69 kB / 0.5584 GB, free: 9.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.145, allocations: 7.953 kB / 0.5584 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.145, allocations: 0 / 0.5584 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.145, allocations: 0 / 0.5584 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.145, allocations: 3.938 kB / 0.5584 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.1452, allocations: 154 kB / 0.5586 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.1452, allocations: 26.61 kB / 0.5586 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007738/0.146, allocations: 465.5 kB / 0.559 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1461, allocations: 30.56 kB / 0.5591 GB, free: 9.051 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.755e-06/0.1461, allocations: 3.984 kB / 0.5591 GB, free: 9.047 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005535/0.1466, allocations: 262.2 kB / 0.5593 GB, free: 8.738 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1467, allocations: 51.41 kB / 0.5594 GB, free: 8.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/0.1468, allocations: 102 kB / 0.5595 GB, free: 8.566 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1468, allocations: 29.7 kB / 0.5595 GB, free: 8.531 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.1468, allocations: 80.14 kB / 0.5596 GB, free: 8.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.1469, allocations: 15.75 kB / 0.5596 GB, free: 8.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.1469, allocations: 0 / 0.5596 GB, free: 8.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.147, allocations: 310.8 kB / 0.5599 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.147, allocations: 8 kB / 0.5599 GB, free: 8.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.147, allocations: 17.7 kB / 0.5599 GB, free: 8.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.488e-05/0.1471, allocations: 16.12 kB / 0.5599 GB, free: 8.074 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1471, allocations: 0 / 0.5599 GB, free: 8.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.45e-05/0.1472, allocations: 53.62 kB / 0.56 GB, free: 8.016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1472, allocations: 4 kB / 0.56 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1472, allocations: 0 / 0.56 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1472, allocations: 0 / 0.56 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.1473, allocations: 11.95 kB / 0.56 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1473, allocations: 3.938 kB / 0.56 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.1473, allocations: 64 / 0.56 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.1474, allocations: 8 kB / 0.56 GB, free: 7.988 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.796e-05/0.1474, allocations: 109.8 kB / 0.5601 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.1475, allocations: 4 kB / 0.5601 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.1476, allocations: 57.11 kB / 0.5602 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1476, allocations: 0 / 0.5602 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1476, allocations: 3.953 kB / 0.5602 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1476, allocations: 0 / 0.5602 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.1477, allocations: 157.7 kB / 0.5603 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1478, allocations: 0 / 0.5603 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.1478, allocations: 4 kB / 0.5603 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1478, allocations: 0 / 0.5603 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.1478, allocations: 0 / 0.5603 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1478, allocations: 4 kB / 0.5603 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1478, allocations: 3.984 kB / 0.5603 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.148, allocations: 77.08 kB / 0.5604 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.148, allocations: 85.08 kB / 0.5605 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.148, allocations: 3.938 kB / 0.5605 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.175e-05/0.1481, allocations: 4.031 kB / 0.5605 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.1481, allocations: 0 / 0.5605 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1481, allocations: 7.984 kB / 0.5605 GB, free: 7.371 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.053e-05/0.1482, allocations: 79.28 kB / 0.5606 GB, free: 7.293 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1482, allocations: 0 / 0.5606 GB, free: 7.293 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.1484, allocations: 27.95 kB / 0.5606 GB, free: 7.266 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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): 3 * 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.0002028/0.1486, allocations: 128 kB / 0.5607 GB, free: 7.129 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.259e-05/0.1487, allocations: 16 kB / 0.5607 GB, free: 7.113 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1487, allocations: 3.938 kB / 0.5608 GB, free: 7.109 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.1487, allocations: 15.92 kB / 0.5608 GB, free: 7.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.1488, allocations: 3.719 kB / 0.5608 GB, free: 7.094 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.1491, allocations: 112.9 kB / 0.5609 GB, free: 6.961 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1493, allocations: 0.681 MB / 0.5615 GB, free: 6.254 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.067e-05/0.1494, allocations: 8.328 kB / 0.5616 GB, free: 6.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.1494, allocations: 7.438 kB / 0.5616 GB, free: 6.238 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1494, allocations: 0 / 0.5616 GB, free: 6.238 MB / 430.1 MB Notification: Performance of Templates: time 0.002959/0.1524, allocations: 0.8327 MB / 0.5624 GB, free: 5.418 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)