Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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: translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 117.9 kB / 17.09 MB, free: 5.957 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.001588/0.001589, allocations: 196.6 kB / 18.02 MB, free: 5.035 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.382/1.382, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7409/0.7409, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.8 kB / 0.5583 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.15, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002855/0.1529, allocations: 1.439 MB / 0.6341 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009157/0.1538, allocations: 383.5 kB / 0.6345 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.1539, allocations: 4 kB / 0.6345 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.1539, allocations: 3.938 kB / 0.6345 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.154, allocations: 0 / 0.6345 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.1545, allocations: 123.5 kB / 0.6346 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.975e-05/0.1546, allocations: 23.92 kB / 0.6347 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.836e-05/0.1547, allocations: 8 kB / 0.6347 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.077e-05/0.1548, allocations: 11.92 kB / 0.6347 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.29e-05/0.1548, allocations: 11.98 kB / 0.6347 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1548, allocations: 4 kB / 0.6347 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.1553, allocations: 271.7 kB / 0.6349 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.1553, allocations: 3.938 kB / 0.635 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.1553, allocations: 15.92 kB / 0.635 GB, free: 2.113 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.1556, allocations: 107.8 kB / 0.6351 GB, free: 2.008 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1556, allocations: 8 kB / 0.6351 GB, free: 2 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1556, allocations: 0 / 0.6351 GB, free: 2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1556, allocations: 0 / 0.6351 GB, free: 2 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005242/0.1561, allocations: 363.4 kB / 0.6354 GB, free: 1.594 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1562, allocations: 8.031 kB / 0.6354 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.157e-05/0.1563, allocations: 4.938 kB / 0.6354 GB, free: 1.582 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1564, allocations: 164.3 kB / 0.6356 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1564, allocations: 384 / 0.6356 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.1564, allocations: 12.3 kB / 0.6356 GB, free: 1.371 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1566, allocations: 54.19 kB / 0.6357 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1566, allocations: 192 / 0.6357 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1567, allocations: 3.938 kB / 0.6357 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1567, allocations: 0 / 0.6357 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.1568, allocations: 35.95 kB / 0.6357 GB, free: 1.273 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.1572, allocations: 252.9 kB / 0.6359 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1574, allocations: 42.5 kB / 0.636 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.821e-05/0.1575, allocations: 28.84 kB / 0.636 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000707/0.1582, allocations: 465.5 kB / 0.6364 GB, free: 356 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1582, allocations: 30.56 kB / 0.6365 GB, free: 316 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1582, allocations: 0 / 0.6365 GB, free: 316 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003987/0.1586, allocations: 81.64 kB / 0.6366 GB, free: 228 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.1587, allocations: 55.53 kB / 0.6366 GB, free: 160 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.941e-05/0.1588, allocations: 105.8 kB / 0.6367 GB, free: 44 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1588, allocations: 25.7 kB / 0.6367 GB, free: 12 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.1589, allocations: 88.14 kB / 0.6368 GB, free: 15.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.1589, allocations: 3.906 kB / 0.6368 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.1589, allocations: 9.719 kB / 0.6368 GB, free: 15.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1591, allocations: 326.8 kB / 0.6371 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.831e-05/0.1592, allocations: 19.92 kB / 0.6372 GB, free: 15.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/0.1592, allocations: 15.98 kB / 0.6372 GB, free: 15.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1594, allocations: 40.81 kB / 0.6372 GB, free: 15.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1594, allocations: 256 / 0.6372 GB, free: 15.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002201/0.1597, allocations: 73.58 kB / 0.6373 GB, free: 15.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1597, allocations: 8 kB / 0.6373 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1597, allocations: 4 kB / 0.6373 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1597, allocations: 0 / 0.6373 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.1598, allocations: 7.984 kB / 0.6373 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1598, allocations: 4 kB / 0.6373 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.1599, allocations: 7.984 kB / 0.6373 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1599, allocations: 0 / 0.6373 GB, free: 15.39 MB / 494.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 (2): * Single equations (assignments): 2 * 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 8.308e-05/0.16, allocations: 117.7 kB / 0.6374 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.16, allocations: 8.031 kB / 0.6374 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.1603, allocations: 69.19 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1603, allocations: 7.984 kB / 0.6375 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1603, allocations: 0 / 0.6375 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1603, allocations: 3.984 kB / 0.6375 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.1605, allocations: 161.6 kB / 0.6377 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1605, allocations: 0 / 0.6377 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.1606, allocations: 12.02 kB / 0.6377 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1606, allocations: 4 kB / 0.6377 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1606, allocations: 3.938 kB / 0.6377 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1606, allocations: 0 / 0.6377 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1606, allocations: 0 / 0.6377 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.1609, allocations: 167.4 kB / 0.6378 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.161, allocations: 85.05 kB / 0.6379 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.161, allocations: 4 kB / 0.6379 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.1611, allocations: 7.984 kB / 0.6379 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.1611, allocations: 0 / 0.6379 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1611, allocations: 0 / 0.6379 GB, free: 14.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.576e-05/0.1612, allocations: 91.27 kB / 0.638 GB, free: 14.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1612, allocations: 0 / 0.638 GB, free: 14.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1614, allocations: 12 kB / 0.638 GB, free: 14.54 MB / 494.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 (2): * Single equations (assignments): 2 * 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.0001858/0.1616, allocations: 115.2 kB / 0.6381 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.1619, allocations: 43.89 kB / 0.6382 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1619, allocations: 0 / 0.6382 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.162, allocations: 15.98 kB / 0.6382 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1623, allocations: 7.938 kB / 0.6382 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.1626, allocations: 131.5 kB / 0.6383 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.1629, allocations: 0.6769 MB / 0.639 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.1629, allocations: 11.44 kB / 0.639 GB, free: 13.48 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1629, allocations: 0 / 0.639 GB, free: 13.48 MB / 494.1 MB Notification: Performance of Templates: time 0.002434/0.1654, allocations: 0.7085 MB / 0.6397 GB, free: 12.77 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)