Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 114 kB / 17.08 MB, free: 5.965 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.001184/0.001184, allocations: 193.9 kB / 18.01 MB, free: 5.055 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7246/0.7246, allocations: 115.3 MB / 407.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 73.38 kB / 0.5584 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.131, allocations: 76.18 MB / 0.6328 GB, free: 4.344 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001834/0.1329, allocations: 0.6 MB / 0.6334 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006676/0.1336, allocations: 359 kB / 0.6337 GB, free: 3.395 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.1336, allocations: 0 / 0.6337 GB, free: 3.395 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.1337, allocations: 7.938 kB / 0.6337 GB, free: 3.387 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.503e-05/0.1337, allocations: 0 / 0.6337 GB, free: 3.387 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.1342, allocations: 123.5 kB / 0.6338 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.217e-05/0.1343, allocations: 15.98 kB / 0.6339 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.1344, allocations: 7.984 kB / 0.6339 GB, free: 3.242 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.501e-05/0.1344, allocations: 15.92 kB / 0.6339 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.66e-05/0.1345, allocations: 11.94 kB / 0.6339 GB, free: 3.215 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1345, allocations: 8 kB / 0.6339 GB, free: 3.207 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.1349, allocations: 275.6 kB / 0.6342 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.1349, allocations: 4 kB / 0.6342 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.135, allocations: 19.91 kB / 0.6342 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.1352, allocations: 95.78 kB / 0.6343 GB, free: 2.82 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1352, allocations: 0 / 0.6343 GB, free: 2.82 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1352, allocations: 0 / 0.6343 GB, free: 2.82 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1352, allocations: 0 / 0.6343 GB, free: 2.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004177/0.1356, allocations: 367.4 kB / 0.6346 GB, free: 2.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1357, allocations: 8.031 kB / 0.6346 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.1357, allocations: 8.938 kB / 0.6346 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1359, allocations: 168.3 kB / 0.6348 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1359, allocations: 4.375 kB / 0.6348 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.1359, allocations: 384 / 0.6348 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.136, allocations: 54.23 kB / 0.6349 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1361, allocations: 192 / 0.6349 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1361, allocations: 3.938 kB / 0.6349 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1361, allocations: 4 kB / 0.6349 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/0.1361, allocations: 15.98 kB / 0.6349 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.1363, allocations: 169.6 kB / 0.635 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.1364, allocations: 62.5 kB / 0.6351 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.1365, allocations: 32.78 kB / 0.6351 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006758/0.1372, allocations: 465.4 kB / 0.6356 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1372, allocations: 30.56 kB / 0.6356 GB, free: 1.199 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1372, allocations: 0 / 0.6356 GB, free: 1.199 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001322/0.1385, allocations: 0.5918 MB / 0.6362 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.1386, allocations: 55.44 kB / 0.6362 GB, free: 460 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.1387, allocations: 101.8 kB / 0.6363 GB, free: 348 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1387, allocations: 29.7 kB / 0.6364 GB, free: 312 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.1387, allocations: 84.12 kB / 0.6364 GB, free: 224 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.1388, allocations: 35.47 kB / 0.6365 GB, free: 188 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.1388, allocations: 25.7 kB / 0.6365 GB, free: 156 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1389, allocations: 322.8 kB / 0.6368 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.991e-05/0.139, allocations: 19.98 kB / 0.6368 GB, free: 15.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.139, allocations: 27.98 kB / 0.6369 GB, free: 15.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.877e-05/0.1391, allocations: 54.98 kB / 0.6369 GB, free: 15.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1391, allocations: 0 / 0.6369 GB, free: 15.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001579/0.1393, allocations: 101.5 kB / 0.637 GB, free: 15.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1393, allocations: 8 kB / 0.637 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1393, allocations: 0 / 0.637 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1394, allocations: 0 / 0.637 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1395, allocations: 19.94 kB / 0.637 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.1395, allocations: 8 kB / 0.637 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.1395, allocations: 7.984 kB / 0.6371 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1395, allocations: 0 / 0.6371 GB, free: 15.58 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 (13): * Single equations (assignments): 13 * 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.721e-05/0.1396, allocations: 113.8 kB / 0.6372 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.1397, allocations: 11.84 kB / 0.6372 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.1399, allocations: 109.5 kB / 0.6373 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1399, allocations: 4 kB / 0.6373 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1399, allocations: 3.984 kB / 0.6373 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1399, allocations: 4 kB / 0.6373 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.1403, allocations: 350.7 kB / 0.6376 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1403, allocations: 0 / 0.6376 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.1404, allocations: 19.94 kB / 0.6376 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1404, allocations: 0 / 0.6376 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.1404, allocations: 11.98 kB / 0.6377 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.1404, allocations: 0 / 0.6377 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1404, allocations: 3.938 kB / 0.6377 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.1407, allocations: 223.5 kB / 0.6379 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.1408, allocations: 81.09 kB / 0.6379 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.1408, allocations: 4 kB / 0.6379 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.1409, allocations: 8 kB / 0.638 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.1409, allocations: 8.172 kB / 0.638 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.1409, allocations: 4 kB / 0.638 GB, free: 14.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.507e-05/0.141, allocations: 87.2 kB / 0.6381 GB, free: 14.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.141, allocations: 3.938 kB / 0.6381 GB, free: 14.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.1413, allocations: 47.98 kB / 0.6381 GB, free: 14.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002332/0.1415, allocations: 139.3 kB / 0.6382 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.1417, allocations: 63.84 kB / 0.6383 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1417, allocations: 0 / 0.6383 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.889e-05/0.1417, allocations: 35.94 kB / 0.6383 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.1419, allocations: 4 kB / 0.6383 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.1423, allocations: 203.8 kB / 0.6385 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.1426, allocations: 0.6885 MB / 0.6392 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.1426, allocations: 19.42 kB / 0.6392 GB, free: 13.18 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1426, allocations: 0 / 0.6392 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Templates: time 0.00294/0.1456, allocations: 1.229 MB / 0.6404 GB, free: 11.95 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)