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.001178/0.001178, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.00121/0.00121, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.702/0.702, allocations: 115.3 MB / 406.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 68.48 kB / 0.5577 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1429, allocations: 76.19 MB / 0.6321 GB, free: 4.547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.003076/0.146, allocations: 1.428 MB / 0.6335 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008538/0.1469, allocations: 383.5 kB / 0.6338 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.1469, allocations: 0 / 0.6338 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.147, allocations: 3.938 kB / 0.6338 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.1471, allocations: 3.938 kB / 0.6339 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.1477, allocations: 115.6 kB / 0.634 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1478, allocations: 35.91 kB / 0.634 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1479, allocations: 4 kB / 0.634 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.214e-05/0.148, allocations: 15.92 kB / 0.634 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.1481, allocations: 4 kB / 0.634 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1481, allocations: 4 kB / 0.634 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.1486, allocations: 271.6 kB / 0.6343 GB, free: 2.277 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.1486, allocations: 7.938 kB / 0.6343 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.1486, allocations: 15.92 kB / 0.6343 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.1489, allocations: 107.8 kB / 0.6344 GB, free: 2.148 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.1489, allocations: 0 / 0.6344 GB, free: 2.148 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1489, allocations: 4 kB / 0.6344 GB, free: 2.145 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1489, allocations: 0 / 0.6344 GB, free: 2.145 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.0005822/0.1495, allocations: 363.4 kB / 0.6348 GB, free: 1.738 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1496, allocations: 12.03 kB / 0.6348 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.1497, allocations: 0.9375 kB / 0.6348 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.1498, allocations: 172.2 kB / 0.6349 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1499, allocations: 384 / 0.6349 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1499, allocations: 384 / 0.6349 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.1501, allocations: 54.23 kB / 0.635 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1501, allocations: 192 / 0.635 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1501, allocations: 11.88 kB / 0.635 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1501, allocations: 0 / 0.635 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.1503, allocations: 35.95 kB / 0.635 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.1507, allocations: 256.9 kB / 0.6353 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.1509, allocations: 46.44 kB / 0.6353 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.903e-05/0.151, allocations: 24.91 kB / 0.6353 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000709/0.1517, allocations: 461.5 kB / 0.6358 GB, free: 500 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1517, allocations: 34.56 kB / 0.6358 GB, free: 456 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1518, allocations: 0 / 0.6358 GB, free: 456 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003923/0.1522, allocations: 85.58 kB / 0.6359 GB, free: 364 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1522, allocations: 59.53 kB / 0.636 GB, free: 292 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.1523, allocations: 105.8 kB / 0.6361 GB, free: 176 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1523, allocations: 25.7 kB / 0.6361 GB, free: 144 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.1524, allocations: 84.14 kB / 0.6362 GB, free: 56 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.1524, allocations: 3.906 kB / 0.6362 GB, free: 52 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.1524, allocations: 17.72 kB / 0.6362 GB, free: 28 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1526, allocations: 318.8 kB / 0.6365 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.663e-05/0.1527, allocations: 19.98 kB / 0.6365 GB, free: 15.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.1527, allocations: 15.98 kB / 0.6365 GB, free: 15.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1529, allocations: 36.83 kB / 0.6366 GB, free: 15.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1529, allocations: 0 / 0.6366 GB, free: 15.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002258/0.1531, allocations: 81.44 kB / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1532, allocations: 8.094 kB / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1532, allocations: 0 / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1532, allocations: 0 / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.159e-05/0.1533, allocations: 11.98 kB / 0.6367 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1533, allocations: 0 / 0.6367 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.1533, allocations: 7.984 kB / 0.6367 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1534, allocations: 0 / 0.6367 GB, free: 15.52 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 7.726e-05/0.1534, allocations: 113.8 kB / 0.6368 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.1535, allocations: 4 kB / 0.6368 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.1537, allocations: 73.19 kB / 0.6368 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1537, allocations: 0 / 0.6368 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1537, allocations: 0 / 0.6368 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1537, allocations: 0 / 0.6368 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1539, allocations: 169.5 kB / 0.637 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1539, allocations: 0 / 0.637 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.154, allocations: 7.984 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.154, allocations: 4.031 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.154, allocations: 4 kB / 0.637 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.154, allocations: 4 kB / 0.637 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.154, allocations: 0 / 0.637 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1543, allocations: 163.4 kB / 0.6372 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.1544, allocations: 81.27 kB / 0.6373 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1544, allocations: 4.031 kB / 0.6373 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.1545, allocations: 15.98 kB / 0.6373 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.1545, allocations: 4 kB / 0.6373 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1545, allocations: 0 / 0.6373 GB, free: 14.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.17e-05/0.1546, allocations: 83.27 kB / 0.6374 GB, free: 14.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1546, allocations: 0 / 0.6374 GB, free: 14.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1548, allocations: 20 kB / 0.6374 GB, free: 14.68 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.0001941/0.155, allocations: 115.1 kB / 0.6375 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.1553, allocations: 43.95 kB / 0.6375 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1553, allocations: 0 / 0.6375 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.1554, allocations: 19.98 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1557, allocations: 3.938 kB / 0.6376 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.156, allocations: 105.6 kB / 0.6377 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.1562, allocations: 0.6808 MB / 0.6383 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.644e-05/0.1562, allocations: 3.938 kB / 0.6383 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.1563, allocations: 11.44 kB / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1563, allocations: 0 / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of Templates: time 0.003051/0.1593, allocations: 0.7239 MB / 0.639 GB, free: 12.92 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)