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.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.002121/0.002121, allocations: 71.77 kB / 20.51 MB, free: 1.125 MB / 14.72 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.002335/0.002335, allocations: 163.8 kB / 23.76 MB, free: 4.195 MB / 14.72 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.421/1.421, allocations: 177.2 MB / 204.1 MB, free: 8.895 MB / 190.1 MB " [Timeout remaining time 178] 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.9256/0.9256, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.1 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 67.33 kB / 0.5551 GB, free: 2.695 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1509, allocations: 89.16 MB / 0.6421 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001655/0.1526, allocations: 0.6069 MB / 0.6427 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000677/0.1533, allocations: 319.3 kB / 0.643 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.1533, allocations: 0 / 0.643 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.1533, allocations: 0 / 0.643 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.411e-05/0.1533, allocations: 3.938 kB / 0.643 GB, free: 8.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.1537, allocations: 115.7 kB / 0.6431 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.993e-05/0.1538, allocations: 19.98 kB / 0.6432 GB, free: 8.438 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.1538, allocations: 7.984 kB / 0.6432 GB, free: 8.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.15e-05/0.1539, allocations: 15.92 kB / 0.6432 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.1539, allocations: 15.86 kB / 0.6432 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.154, allocations: 0 / 0.6432 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.1543, allocations: 259.7 kB / 0.6435 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.1544, allocations: 4 kB / 0.6435 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.1544, allocations: 19.91 kB / 0.6435 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.1546, allocations: 99.66 kB / 0.6436 GB, free: 8.023 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1546, allocations: 4 kB / 0.6436 GB, free: 8.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1546, allocations: 0 / 0.6436 GB, free: 8.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.1546, allocations: 0 / 0.6436 GB, free: 8.02 MB / 0.545 GB 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.0004045/0.155, allocations: 290 kB / 0.6439 GB, free: 7.703 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.155, allocations: 8.031 kB / 0.6439 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.1551, allocations: 4.938 kB / 0.6439 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1552, allocations: 114.5 kB / 0.644 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1552, allocations: 4.375 kB / 0.644 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.1552, allocations: 4.375 kB / 0.644 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1553, allocations: 97.66 kB / 0.6441 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1554, allocations: 4.188 kB / 0.6441 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1554, allocations: 11.92 kB / 0.6441 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1554, allocations: 0 / 0.6441 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.916e-05/0.1554, allocations: 19.94 kB / 0.6441 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.1556, allocations: 113.2 kB / 0.6442 GB, free: 7.258 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1557, allocations: 62.5 kB / 0.6443 GB, free: 7.188 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.1557, allocations: 28.84 kB / 0.6443 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005276/0.1563, allocations: 75.92 kB / 0.6444 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1563, allocations: 38.55 kB / 0.6444 GB, free: 7.035 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1563, allocations: 0 / 0.6444 GB, free: 7.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001204/0.1575, allocations: 458.9 kB / 0.6448 GB, free: 6.531 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1575, allocations: 63.39 kB / 0.6449 GB, free: 6.457 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.1576, allocations: 97.86 kB / 0.645 GB, free: 6.352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1576, allocations: 25.7 kB / 0.645 GB, free: 6.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.1577, allocations: 84.14 kB / 0.6451 GB, free: 6.234 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.1577, allocations: 35.69 kB / 0.6451 GB, free: 6.199 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.1577, allocations: 29.7 kB / 0.6452 GB, free: 6.164 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1579, allocations: 314.8 kB / 0.6455 GB, free: 5.848 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.1579, allocations: 23.98 kB / 0.6455 GB, free: 5.824 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.571e-05/0.158, allocations: 16 kB / 0.6455 GB, free: 5.809 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.852e-05/0.1581, allocations: 63.59 kB / 0.6456 GB, free: 5.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1581, allocations: 0 / 0.6456 GB, free: 5.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001677/0.1582, allocations: 105.6 kB / 0.6457 GB, free: 5.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1582, allocations: 7.938 kB / 0.6457 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1582, allocations: 0 / 0.6457 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1583, allocations: 0 / 0.6457 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1584, allocations: 23.98 kB / 0.6457 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1584, allocations: 0 / 0.6457 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.1584, allocations: 4 kB / 0.6457 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1584, allocations: 4.781 kB / 0.6457 GB, free: 5.598 MB / 0.545 GB 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 8.641e-05/0.1585, allocations: 121.1 kB / 0.6458 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.1585, allocations: 15.89 kB / 0.6458 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.1587, allocations: 109.8 kB / 0.6459 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1587, allocations: 0 / 0.6459 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1587, allocations: 0 / 0.6459 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1587, allocations: 4 kB / 0.6459 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.1591, allocations: 298.1 kB / 0.6462 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1591, allocations: 0 / 0.6462 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.1592, allocations: 19.98 kB / 0.6463 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1592, allocations: 4 kB / 0.6463 GB, free: 4.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1592, allocations: 7.938 kB / 0.6463 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1592, allocations: 0 / 0.6463 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1592, allocations: 4 kB / 0.6463 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.1595, allocations: 219.4 kB / 0.6465 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.1595, allocations: 11.97 kB / 0.6465 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1595, allocations: 0 / 0.6465 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.1596, allocations: 8 kB / 0.6465 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.1596, allocations: 7.984 kB / 0.6465 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1596, allocations: 0 / 0.6465 GB, free: 4.715 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.743e-05/0.1597, allocations: 91.44 kB / 0.6466 GB, free: 4.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1597, allocations: 0 / 0.6466 GB, free: 4.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002719/0.16, allocations: 39.88 kB / 0.6466 GB, free: 4.586 MB / 0.545 GB 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.0002188/0.1602, allocations: 143.2 kB / 0.6468 GB, free: 4.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.1603, allocations: 59.91 kB / 0.6468 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1603, allocations: 0 / 0.6468 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.13e-05/0.1604, allocations: 31.92 kB / 0.6469 GB, free: 4.348 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.1606, allocations: 17.94 kB / 0.6469 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.1609, allocations: 176.6 kB / 0.647 GB, free: 4.133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.604e-05/0.161, allocations: 71.33 kB / 0.6471 GB, free: 4.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.958e-05/0.1611, allocations: 15.98 kB / 0.6471 GB, free: 4.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.1611, allocations: 12.5 kB / 0.6471 GB, free: 4.016 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.1611, allocations: 0 / 0.6471 GB, free: 4.016 MB / 0.545 GB Notification: Performance of Templates: time 0.004116/0.1652, allocations: 1.375 MB / 0.6485 GB, free: 2.645 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.256208998034708] Failed to read output from testmodel.py, exit status != 0: 0.17314410209655762 0.1870912 0.029565232 Calling exit ...