Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001306/0.001306, allocations: 75.75 kB / 20.51 MB, free: 1.121 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.001363/0.001363, allocations: 162 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.414/1.414, allocations: 177.2 MB / 204.1 MB, free: 8.961 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.9033/0.9033, allocations: 113.9 MB / 374.5 MB, free: 12.87 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [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.002153/0.002153, allocations: 67.58 kB / 0.5551 GB, free: 2.676 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1498, allocations: 89.15 MB / 0.6421 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00167/0.1515, allocations: 0.5797 MB / 0.6427 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1534, allocations: 1.439 MB / 0.6441 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.922e-05/0.1534, allocations: 0 / 0.6441 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.118e-05/0.1534, allocations: 3.938 kB / 0.6441 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.699e-05/0.1535, allocations: 3.938 kB / 0.6441 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.154, allocations: 150.3 kB / 0.6443 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.809e-05/0.154, allocations: 27.97 kB / 0.6443 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.264e-05/0.1541, allocations: 0 / 0.6443 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.1541, allocations: 23.92 kB / 0.6443 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.1542, allocations: 19.91 kB / 0.6443 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1542, allocations: 4 kB / 0.6443 GB, free: 7.227 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.1546, allocations: 247.5 kB / 0.6446 GB, free: 6.984 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.1547, allocations: 7.984 kB / 0.6446 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.1547, allocations: 7.984 kB / 0.6446 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.155, allocations: 183.5 kB / 0.6448 GB, free: 6.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.155, allocations: 0 / 0.6448 GB, free: 6.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.155, allocations: 0 / 0.6448 GB, free: 6.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.155, allocations: 0 / 0.6448 GB, free: 6.789 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005441/0.1555, allocations: 296 kB / 0.645 GB, free: 6.473 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.1556, allocations: 11.97 kB / 0.645 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000479/0.156, allocations: 68.84 kB / 0.6451 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.1561, allocations: 102.5 kB / 0.6452 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1562, allocations: 384 / 0.6452 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.1562, allocations: 8.359 kB / 0.6452 GB, free: 6.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.1565, allocations: 107.6 kB / 0.6453 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1565, allocations: 0 / 0.6453 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1565, allocations: 4 kB / 0.6453 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1565, allocations: 0 / 0.6453 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.1568, allocations: 71.92 kB / 0.6454 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.157, allocations: 109.3 kB / 0.6455 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.1576, allocations: 118.6 kB / 0.6456 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.1578, allocations: 52.89 kB / 0.6457 GB, free: 5.754 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004428/0.1582, allocations: 75.91 kB / 0.6457 GB, free: 5.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1583, allocations: 38.5 kB / 0.6458 GB, free: 5.633 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1583, allocations: 0 / 0.6458 GB, free: 5.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001191/0.1595, allocations: 333 kB / 0.6461 GB, free: 5.273 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.1595, allocations: 51.41 kB / 0.6461 GB, free: 5.211 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.1596, allocations: 97.86 kB / 0.6462 GB, free: 5.105 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.1596, allocations: 29.7 kB / 0.6463 GB, free: 5.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.975e-05/0.1596, allocations: 84.12 kB / 0.6463 GB, free: 4.984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.1597, allocations: 15.86 kB / 0.6464 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.1597, allocations: 17.72 kB / 0.6464 GB, free: 4.945 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1599, allocations: 322.8 kB / 0.6467 GB, free: 4.621 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.16, allocations: 36.09 kB / 0.6467 GB, free: 4.586 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.1602, allocations: 27.97 kB / 0.6467 GB, free: 4.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.1605, allocations: 80.8 kB / 0.6468 GB, free: 4.477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1605, allocations: 3.938 kB / 0.6468 GB, free: 4.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003924/0.1609, allocations: 117.6 kB / 0.6469 GB, free: 4.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1609, allocations: 7.938 kB / 0.6469 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1609, allocations: 0 / 0.6469 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1609, allocations: 4 kB / 0.6469 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1611, allocations: 23.97 kB / 0.647 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1611, allocations: 3.984 kB / 0.647 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.1612, allocations: 19.92 kB / 0.647 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1612, allocations: 0 / 0.647 GB, free: 4.293 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 (6): * Single equations (assignments): 6 * 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.48e-05/0.1613, allocations: 116.9 kB / 0.6471 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.1613, allocations: 3.938 kB / 0.6471 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004854/0.1618, allocations: 141.5 kB / 0.6472 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1618, allocations: 4 kB / 0.6472 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1618, allocations: 4.062 kB / 0.6472 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1618, allocations: 0 / 0.6472 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.162, allocations: 109.3 kB / 0.6474 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.162, allocations: 0 / 0.6474 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.1621, allocations: 19.98 kB / 0.6474 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1621, allocations: 0 / 0.6474 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1621, allocations: 11.94 kB / 0.6474 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1621, allocations: 3.984 kB / 0.6474 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1621, allocations: 0 / 0.6474 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.1628, allocations: 185 kB / 0.6476 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.1628, allocations: 8.016 kB / 0.6476 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1628, allocations: 3.938 kB / 0.6476 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1629, allocations: 15.98 kB / 0.6476 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.163, allocations: 12.05 kB / 0.6476 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.163, allocations: 0 / 0.6476 GB, free: 3.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.163, allocations: 79.28 kB / 0.6477 GB, free: 3.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.163, allocations: 0 / 0.6477 GB, free: 3.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002373/0.1633, allocations: 35.86 kB / 0.6477 GB, free: 3.492 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001813/0.1634, allocations: 123.1 kB / 0.6478 GB, free: 3.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004161/0.1638, allocations: 87.95 kB / 0.6479 GB, free: 3.273 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1639, allocations: 0 / 0.6479 GB, free: 3.273 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.164, allocations: 39.97 kB / 0.648 GB, free: 3.234 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.1642, allocations: 8 kB / 0.648 GB, free: 3.227 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006275/0.1648, allocations: 185.3 kB / 0.6481 GB, free: 3.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.065e-05/0.1649, allocations: 67.28 kB / 0.6482 GB, free: 2.934 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.129e-05/0.1649, allocations: 15.94 kB / 0.6482 GB, free: 2.918 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.165, allocations: 12.5 kB / 0.6482 GB, free: 2.906 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.165, allocations: 4 kB / 0.6482 GB, free: 2.902 MB / 0.545 GB Notification: Performance of Templates: time 0.003826/0.1688, allocations: 1.191 MB / 0.6494 GB, free: 1.719 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.204993754043244] Failed to read output from testmodel.py, exit status != 0: 0.17705746402498335 0.19094595899999994 0.033005443 Calling exit ...