Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 114.3 kB / 17.08 MB, free: 5.969 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.001034/0.001034, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7301/0.7301, allocations: 115.3 MB / 407.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.33 kB / 0.5584 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1351, allocations: 76.18 MB / 0.6328 GB, free: 4.23 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001712/0.1369, allocations: 0.5712 MB / 0.6333 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006385/0.1375, allocations: 339.2 kB / 0.6337 GB, free: 3.332 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.1376, allocations: 4 kB / 0.6337 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.1376, allocations: 0 / 0.6337 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.333e-05/0.1376, allocations: 3.938 kB / 0.6337 GB, free: 3.324 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.1381, allocations: 121.6 kB / 0.6338 GB, free: 3.207 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.124e-05/0.1381, allocations: 15.92 kB / 0.6338 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.1382, allocations: 0 / 0.6338 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.847e-05/0.1382, allocations: 4 kB / 0.6338 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.1382, allocations: 4 kB / 0.6338 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1383, allocations: 4 kB / 0.6338 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.1386, allocations: 275.6 kB / 0.6341 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.1386, allocations: 4 kB / 0.6341 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.1387, allocations: 15.86 kB / 0.6341 GB, free: 2.891 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.1388, allocations: 91.78 kB / 0.6342 GB, free: 2.801 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1388, allocations: 0 / 0.6342 GB, free: 2.801 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1388, allocations: 0 / 0.6342 GB, free: 2.801 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1389, allocations: 0 / 0.6342 GB, free: 2.801 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003479/0.1392, allocations: 343.5 kB / 0.6345 GB, free: 2.414 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1393, allocations: 12.03 kB / 0.6345 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.1393, allocations: 8.938 kB / 0.6345 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.1394, allocations: 172.2 kB / 0.6347 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.1394, allocations: 384 / 0.6347 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1395, allocations: 4.375 kB / 0.6347 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.5e-05/0.1395, allocations: 34.27 kB / 0.6347 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1396, allocations: 192 / 0.6347 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1396, allocations: 3.938 kB / 0.6347 GB, free: 2.141 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1396, allocations: 0 / 0.6347 GB, free: 2.141 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.232e-05/0.1396, allocations: 7.938 kB / 0.6347 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.1398, allocations: 157.7 kB / 0.6349 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.658e-05/0.1398, allocations: 22.56 kB / 0.6349 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.1398, allocations: 8.844 kB / 0.6349 GB, free: 1.887 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006934/0.1405, allocations: 461.5 kB / 0.6354 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1406, allocations: 30.56 kB / 0.6354 GB, free: 1.305 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1406, allocations: 0 / 0.6354 GB, free: 1.305 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004773/0.1411, allocations: 254.3 kB / 0.6356 GB, free: 1.004 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.1411, allocations: 55.62 kB / 0.6357 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.788e-05/0.1412, allocations: 93.86 kB / 0.6358 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1412, allocations: 29.7 kB / 0.6358 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.1412, allocations: 84.12 kB / 0.6359 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1413, allocations: 11.81 kB / 0.6359 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.1413, allocations: 17.7 kB / 0.6359 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1414, allocations: 318.8 kB / 0.6362 GB, free: 368 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.1414, allocations: 8.125 kB / 0.6362 GB, free: 360 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.1415, allocations: 13.72 kB / 0.6362 GB, free: 340 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.563e-05/0.1415, allocations: 29.7 kB / 0.6363 GB, free: 304 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1415, allocations: 0 / 0.6363 GB, free: 304 kB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.297e-05/0.1416, allocations: 53.64 kB / 0.6363 GB, free: 244 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1416, allocations: 7.938 kB / 0.6363 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1416, allocations: 4.062 kB / 0.6363 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1417, allocations: 7.984 kB / 0.6363 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.1417, allocations: 4 kB / 0.6363 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1417, allocations: 3.938 kB / 0.6364 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.1418, allocations: 0 / 0.6364 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1418, allocations: 4 kB / 0.6364 GB, free: 212 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.38e-05/0.1418, allocations: 105.8 kB / 0.6365 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.1419, allocations: 11.88 kB / 0.6365 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.142, allocations: 69.09 kB / 0.6365 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.142, allocations: 0 / 0.6365 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.142, allocations: 0 / 0.6365 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.142, allocations: 0 / 0.6365 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.1421, allocations: 153.7 kB / 0.6367 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1421, allocations: 0 / 0.6367 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.1422, allocations: 4 kB / 0.6367 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1422, allocations: 7.938 kB / 0.6367 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.1422, allocations: 4 kB / 0.6367 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1422, allocations: 0 / 0.6367 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1422, allocations: 4 kB / 0.6367 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.1424, allocations: 84.95 kB / 0.6368 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.1424, allocations: 77.11 kB / 0.6369 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.1424, allocations: 7.969 kB / 0.6369 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.1425, allocations: 0 / 0.6369 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.1425, allocations: 0 / 0.6369 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1425, allocations: 4 kB / 0.6369 GB, free: 15.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.106e-05/0.1425, allocations: 83.33 kB / 0.6369 GB, free: 15.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1425, allocations: 0 / 0.6369 GB, free: 15.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.1427, allocations: 28 kB / 0.637 GB, free: 15.47 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001809/0.1429, allocations: 119.2 kB / 0.6371 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.072e-05/0.143, allocations: 19.94 kB / 0.6371 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.143, allocations: 0 / 0.6371 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/0.1431, allocations: 8.219 kB / 0.6371 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.1432, allocations: 9.875 kB / 0.6371 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.1434, allocations: 139.7 kB / 0.6373 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.1436, allocations: 0.6729 MB / 0.6379 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.993e-05/0.1437, allocations: 11.42 kB / 0.6379 GB, free: 14.42 MB / 494.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1437, allocations: 0 / 0.6379 GB, free: 14.42 MB / 494.1 MB Notification: Performance of Templates: time 0.002026/0.1457, allocations: 0.7712 MB / 0.6387 GB, free: 13.65 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)