Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.747/0.747, allocations: 128.7 MB / 144.5 MB, free: 1.367 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 186.6 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205 MB / 408.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 111.9 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 57.59 kB / 0.558 GB, free: 97.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1467, allocations: 75.48 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002399/0.1492, allocations: 1.492 MB / 0.6331 GB, free: 31.52 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006149/0.1498, allocations: 407.4 kB / 0.6335 GB, free: 31.12 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.1498, allocations: 0 / 0.6335 GB, free: 31.12 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.1499, allocations: 0 / 0.6335 GB, free: 31.12 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.1499, allocations: 11.88 kB / 0.6335 GB, free: 31.11 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1502, allocations: 81.84 kB / 0.6336 GB, free: 31.03 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.878e-05/0.1503, allocations: 19.92 kB / 0.6336 GB, free: 31.01 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.1504, allocations: 8 kB / 0.6336 GB, free: 31 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.1504, allocations: 15.91 kB / 0.6337 GB, free: 30.98 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.1505, allocations: 15.92 kB / 0.6337 GB, free: 30.97 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1505, allocations: 0 / 0.6337 GB, free: 30.97 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.1508, allocations: 271.7 kB / 0.6339 GB, free: 30.7 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.1508, allocations: 0 / 0.6339 GB, free: 30.7 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.1508, allocations: 15.92 kB / 0.6339 GB, free: 30.69 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.151, allocations: 107.8 kB / 0.634 GB, free: 30.58 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.151, allocations: 4 kB / 0.6341 GB, free: 30.58 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.151, allocations: 0 / 0.6341 GB, free: 30.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.151, allocations: 0 / 0.6341 GB, free: 30.58 MB / 442.7 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.0004026/0.1514, allocations: 366.6 kB / 0.6344 GB, free: 30.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1515, allocations: 8.031 kB / 0.6344 GB, free: 30.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.1515, allocations: 0.9375 kB / 0.6344 GB, free: 30.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.575e-05/0.1516, allocations: 168.3 kB / 0.6346 GB, free: 29.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.1516, allocations: 4.375 kB / 0.6346 GB, free: 29.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1516, allocations: 4.312 kB / 0.6346 GB, free: 29.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1518, allocations: 50.23 kB / 0.6346 GB, free: 29.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1518, allocations: 192 / 0.6346 GB, free: 29.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1518, allocations: 7.938 kB / 0.6346 GB, free: 29.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1519, allocations: 0 / 0.6346 GB, free: 29.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.152, allocations: 31.95 kB / 0.6347 GB, free: 29.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.1523, allocations: 257 kB / 0.6349 GB, free: 29.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1524, allocations: 46.38 kB / 0.635 GB, free: 29.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.646e-05/0.1525, allocations: 24.91 kB / 0.635 GB, free: 29.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005219/0.153, allocations: 457.5 kB / 0.6354 GB, free: 28.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.153, allocations: 30.56 kB / 0.6354 GB, free: 28.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1531, allocations: 0 / 0.6354 GB, free: 28.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003237/0.1534, allocations: 89.64 kB / 0.6355 GB, free: 28.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.1534, allocations: 51.41 kB / 0.6356 GB, free: 28.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.82e-05/0.1535, allocations: 105.8 kB / 0.6357 GB, free: 28.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.844e-06/0.1535, allocations: 29.69 kB / 0.6357 GB, free: 28.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.1535, allocations: 84.14 kB / 0.6358 GB, free: 28.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.1535, allocations: 3.906 kB / 0.6358 GB, free: 28.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.1536, allocations: 13.72 kB / 0.6358 GB, free: 28.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.385e-05/0.1536, allocations: 319 kB / 0.6361 GB, free: 28.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/0.1537, allocations: 19.97 kB / 0.6361 GB, free: 28.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.516e-05/0.1538, allocations: 15.98 kB / 0.6361 GB, free: 28.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.1539, allocations: 36.83 kB / 0.6362 GB, free: 28.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1539, allocations: 3.938 kB / 0.6362 GB, free: 28.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001771/0.1541, allocations: 73.66 kB / 0.6363 GB, free: 28.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1541, allocations: 4 kB / 0.6363 GB, free: 28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1541, allocations: 3.984 kB / 0.6363 GB, free: 28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1541, allocations: 3.938 kB / 0.6363 GB, free: 28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.1542, allocations: 11.98 kB / 0.6363 GB, free: 27.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1542, allocations: 0 / 0.6363 GB, free: 27.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.1543, allocations: 4 kB / 0.6363 GB, free: 27.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1543, allocations: 8.234 kB / 0.6363 GB, free: 27.97 MB / 442.7 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 5.957e-05/0.1544, allocations: 117.8 kB / 0.6364 GB, free: 27.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.1545, allocations: 3.906 kB / 0.6364 GB, free: 27.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.1547, allocations: 73.19 kB / 0.6365 GB, free: 27.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1547, allocations: 0 / 0.6365 GB, free: 27.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1547, allocations: 4 kB / 0.6365 GB, free: 27.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.1547, allocations: 0 / 0.6365 GB, free: 27.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.1548, allocations: 165.6 kB / 0.6366 GB, free: 27.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1548, allocations: 4.031 kB / 0.6366 GB, free: 27.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.1549, allocations: 11.92 kB / 0.6366 GB, free: 27.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1549, allocations: 3.938 kB / 0.6367 GB, free: 27.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1549, allocations: 0 / 0.6367 GB, free: 27.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1549, allocations: 4 kB / 0.6367 GB, free: 27.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1549, allocations: 0 / 0.6367 GB, free: 27.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.1553, allocations: 0.7279 MB / 0.6374 GB, free: 26.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.1553, allocations: 84.95 kB / 0.6374 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1554, allocations: 0 / 0.6374 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.1554, allocations: 7.984 kB / 0.6375 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1555, allocations: 4 kB / 0.6375 GB, free: 26.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.1555, allocations: 3.938 kB / 0.6375 GB, free: 26.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.421e-05/0.1555, allocations: 87.31 kB / 0.6375 GB, free: 26.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1555, allocations: 0 / 0.6375 GB, free: 26.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003037/0.1558, allocations: 15.98 kB / 0.6376 GB, free: 26.53 MB / 442.7 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.0001646/0.156, allocations: 107.2 kB / 0.6377 GB, free: 26.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1562, allocations: 43.95 kB / 0.6377 GB, free: 26.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1562, allocations: 0 / 0.6377 GB, free: 26.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.1563, allocations: 23.98 kB / 0.6377 GB, free: 26.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.1566, allocations: 0 / 0.6377 GB, free: 26.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.1569, allocations: 214.3 kB / 0.6379 GB, free: 26.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.157, allocations: 0.6809 MB / 0.6386 GB, free: 25.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.55e-05/0.1571, allocations: 4 kB / 0.6386 GB, free: 25.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.1571, allocations: 11.5 kB / 0.6386 GB, free: 25.37 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1571, allocations: 3.938 kB / 0.6386 GB, free: 25.37 MB / 442.7 MB Notification: Performance of Templates: time 0.00291/0.16, allocations: 0.6513 MB / 0.6393 GB, free: 24.72 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)