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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 84.22 kB / 20.94 MB, free: 3.609 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 169 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.054/1.054, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6178/0.6178, allocations: 115 MB / 376 MB, free: 7.664 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0.7656 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.38e-05, allocations: 4.5 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001379/0.001403, allocations: 0.5927 MB / 482.2 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005252/0.001928, allocations: 305.3 kB / 482.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.001948, allocations: 5.688 kB / 482.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.001965, allocations: 0 / 482.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.384e-06/0.001972, allocations: 0 / 482.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.002366, allocations: 106.7 kB / 482.6 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.978e-05/0.002416, allocations: 1.469 kB / 482.6 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.002457, allocations: 1.656 kB / 482.6 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.00248, allocations: 0 / 482.6 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.089e-05/0.002511, allocations: 6.156 kB / 482.6 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.002524, allocations: 0 / 482.6 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.002813, allocations: 259.5 kB / 482.8 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.002826, allocations: 0.5625 kB / 482.8 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.002842, allocations: 4.5 kB / 482.8 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.003007, allocations: 110.6 kB / 482.9 MB, free: 11.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.00301, allocations: 0 / 482.9 MB, free: 11.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003011, allocations: 3.719 kB / 483 MB, free: 11.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.003016, allocations: 0 / 483 MB, free: 11.19 MB / 410.7 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.0002509/0.003267, allocations: 366.9 kB / 483.3 MB, free: 10.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.003312, allocations: 6.5 kB / 483.3 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.356e-05/0.003405, allocations: 7.531 kB / 483.3 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.182e-05/0.003467, allocations: 105.3 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.003481, allocations: 1 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.00349, allocations: 2.344 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.138e-05/0.003571, allocations: 31.47 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.003579, allocations: 0.6875 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.003588, allocations: 5.406 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.003597, allocations: 5.625 kB / 483.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.003614, allocations: 7.438 kB / 483.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.688e-05/0.0037, allocations: 106.4 kB / 483.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.138e-05/0.003742, allocations: 24.38 kB / 483.6 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.003758, allocations: 15.41 kB / 483.6 MB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000292/0.00405, allocations: 46.59 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.004067, allocations: 33.39 kB / 483.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.004068, allocations: 0 / 483.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.004213, allocations: 46.31 kB / 483.7 MB, free: 10.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.004234, allocations: 51.41 kB / 483.8 MB, free: 10.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.816e-05/0.004252, allocations: 142.8 kB / 483.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.004258, allocations: 25.7 kB / 484 MB, free: 10.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.004467, allocations: 128.2 kB / 484.1 MB, free: 25.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.004495, allocations: 3.953 kB / 484.1 MB, free: 25.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.004517, allocations: 17.81 kB / 484.1 MB, free: 25.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.004624, allocations: 0.4916 MB / 484.6 MB, free: 25.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.004637, allocations: 4 kB / 484.6 MB, free: 25.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.004643, allocations: 0.5 kB / 484.6 MB, free: 25.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.093e-05/0.004674, allocations: 16.06 kB / 484.6 MB, free: 25.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004676, allocations: 0 / 484.6 MB, free: 25.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.537e-05/0.004731, allocations: 34.8 kB / 484.7 MB, free: 25.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.004744, allocations: 4.688 kB / 484.7 MB, free: 25.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.004749, allocations: 0 / 484.7 MB, free: 25.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.004762, allocations: 0 / 484.7 MB, free: 25.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.24e-05/0.004804, allocations: 8.391 kB / 484.7 MB, free: 25.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.00481, allocations: 0 / 484.7 MB, free: 25.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-06/0.004819, allocations: 3.938 kB / 484.7 MB, free: 25.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.004823, allocations: 3.938 kB / 484.7 MB, free: 25.39 MB / 426.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 (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 5.73e-05/0.004881, allocations: 155.8 kB / 484.8 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.004894, allocations: 0 / 484.8 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.004965, allocations: 48.61 kB / 484.9 MB, free: 25.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.004967, allocations: 1.531 kB / 484.9 MB, free: 25.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.004971, allocations: 4 kB / 484.9 MB, free: 25.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.004974, allocations: 0 / 484.9 MB, free: 25.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.057e-05/0.005015, allocations: 108.6 kB / 485 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.005016, allocations: 3.5 kB / 485 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-06/0.005024, allocations: 2.062 kB / 485 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.005026, allocations: 0 / 485 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.005033, allocations: 3.234 kB / 485 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005034, allocations: 3.984 kB / 485 MB, free: 25.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.005035, allocations: 3.844 kB / 485 MB, free: 25.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.214e-05/0.005087, allocations: 71.45 kB / 485.1 MB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-06/0.005091, allocations: 3.938 kB / 485.1 MB, free: 24.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.005103, allocations: 7.719 kB / 485.1 MB, free: 24.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.837e-06/0.005107, allocations: 2.312 kB / 485.1 MB, free: 24.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.005121, allocations: 0.5312 kB / 485.1 MB, free: 24.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.005123, allocations: 2.75 kB / 485.1 MB, free: 24.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.065e-05/0.005154, allocations: 119.2 kB / 485.2 MB, free: 24.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.005154, allocations: 0.5625 kB / 485.2 MB, free: 24.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001281/0.005282, allocations: 11.84 kB / 485.2 MB, free: 24.83 MB / 426.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 (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.0001561/0.005438, allocations: 117 kB / 485.3 MB, free: 24.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.955e-05/0.005507, allocations: 12 kB / 485.3 MB, free: 24.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.00551, allocations: 4.875 kB / 485.3 MB, free: 24.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-06/0.005516, allocations: 10.91 kB / 485.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.669e-05/0.005612, allocations: 1.938 kB / 485.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001732/0.005786, allocations: 85.89 kB / 485.4 MB, free: 24.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.175e-05/0.005807, allocations: 53.39 kB / 485.5 MB, free: 24.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.616e-05/0.005823, allocations: 0.625 kB / 485.5 MB, free: 24.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.005838, allocations: 12.19 kB / 485.5 MB, free: 24.52 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.005839, allocations: 0 / 485.5 MB, free: 24.52 MB / 426.7 MB Notification: Performance of Templates: time 0.002096/0.007935, allocations: 482 kB / 486 MB, free: 24.48 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6357638540212065]