Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.0009991, allocations: 104.5 kB / 16.4 MB, free: 5.941 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.001031/0.001031, allocations: 185.7 kB / 17.33 MB, free: 5.574 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7181/0.7181, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 64.77 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1351, allocations: 76.17 MB / 0.6321 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001815/0.137, allocations: 0.7768 MB / 0.6329 GB, free: 3.59 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1387, allocations: 1.485 MB / 0.6343 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.1388, allocations: 0 / 0.6343 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.1388, allocations: 3.938 kB / 0.6343 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.289e-05/0.1389, allocations: 0 / 0.6343 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.1394, allocations: 150.1 kB / 0.6345 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.1395, allocations: 47.91 kB / 0.6345 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.1395, allocations: 7.984 kB / 0.6345 GB, free: 1.883 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.829e-05/0.1396, allocations: 19.92 kB / 0.6346 GB, free: 1.863 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.518e-05/0.1397, allocations: 47.81 kB / 0.6346 GB, free: 1.816 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1397, allocations: 4 kB / 0.6346 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004124/0.1401, allocations: 311.4 kB / 0.6349 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.1401, allocations: 15.97 kB / 0.6349 GB, free: 1.492 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.1402, allocations: 23.86 kB / 0.6349 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.1406, allocations: 219.5 kB / 0.6351 GB, free: 1.254 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1406, allocations: 0 / 0.6351 GB, free: 1.254 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1406, allocations: 0 / 0.6351 GB, free: 1.254 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1406, allocations: 3.938 kB / 0.6351 GB, free: 1.25 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000658/0.1412, allocations: 403.4 kB / 0.6355 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1413, allocations: 8.031 kB / 0.6355 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004466/0.1417, allocations: 76.75 kB / 0.6356 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1419, allocations: 164.3 kB / 0.6358 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.1419, allocations: 8.375 kB / 0.6358 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.1419, allocations: 8.359 kB / 0.6358 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.1423, allocations: 113.9 kB / 0.6359 GB, free: 404 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1423, allocations: 0 / 0.6359 GB, free: 404 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.1424, allocations: 3.984 kB / 0.6359 GB, free: 400 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1424, allocations: 4 kB / 0.6359 GB, free: 396 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.1428, allocations: 103.8 kB / 0.636 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.1434, allocations: 340.5 kB / 0.6363 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.1441, allocations: 154.4 kB / 0.6365 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.1443, allocations: 56.8 kB / 0.6365 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1444, allocations: 0 / 0.6365 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1444, allocations: 38.56 kB / 0.6366 GB, free: 15.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1444, allocations: 0 / 0.6366 GB, free: 15.64 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01759/0.162, allocations: 2.831 MB / 0.6393 GB, free: 12.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.1621, allocations: 55.34 kB / 0.6394 GB, free: 12.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.768e-05/0.1622, allocations: 101.8 kB / 0.6395 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.1622, allocations: 33.7 kB / 0.6395 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.1623, allocations: 88.05 kB / 0.6396 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/0.1624, allocations: 35.45 kB / 0.6396 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.1625, allocations: 69.58 kB / 0.6397 GB, free: 12.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1627, allocations: 318.8 kB / 0.64 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006517/0.1633, allocations: 191.8 kB / 0.6402 GB, free: 11.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.164, allocations: 199.7 kB / 0.6404 GB, free: 11.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.1653, allocations: 391.7 kB / 0.6407 GB, free: 11.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1653, allocations: 0 / 0.6407 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001504/0.1668, allocations: 477.3 kB / 0.6412 GB, free: 10.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.1668, allocations: 8 kB / 0.6412 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1668, allocations: 0 / 0.6412 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1669, allocations: 0 / 0.6412 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000806/0.1677, allocations: 111.7 kB / 0.6413 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.1677, allocations: 8.25 kB / 0.6413 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/0.1683, allocations: 43.94 kB / 0.6414 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.1683, allocations: 32.02 kB / 0.6414 GB, free: 10.54 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 0.0001567/0.1685, allocations: 113.8 kB / 0.6415 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.1686, allocations: 7.906 kB / 0.6415 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.1687, allocations: 15.97 kB / 0.6415 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1687, allocations: 0 / 0.6415 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1687, allocations: 3.938 kB / 0.6415 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1687, allocations: 0 / 0.6415 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.1708, allocations: 1.051 MB / 0.6426 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1708, allocations: 4 kB / 0.6426 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000804/0.1716, allocations: 103.8 kB / 0.6427 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1716, allocations: 3.938 kB / 0.6427 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.846e-05/0.1717, allocations: 23.92 kB / 0.6427 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1717, allocations: 7.984 kB / 0.6427 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1717, allocations: 0 / 0.6427 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.1739, allocations: 0.7957 MB / 0.6435 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.1741, allocations: 128.9 kB / 0.6436 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/0.1742, allocations: 0 / 0.6436 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000651/0.1748, allocations: 52 kB / 0.6436 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.469e-05/0.1749, allocations: 27.92 kB / 0.6437 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/0.175, allocations: 19.94 kB / 0.6437 GB, free: 8.027 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.862e-05/0.175, allocations: 83.28 kB / 0.6438 GB, free: 7.945 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.175, allocations: 0 / 0.6438 GB, free: 7.945 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.1754, allocations: 51.98 kB / 0.6438 GB, free: 7.895 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.0002095/0.1756, allocations: 115.2 kB / 0.6439 GB, free: 7.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.177, allocations: 419.5 kB / 0.6443 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.177, allocations: 0 / 0.6443 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006867/0.1777, allocations: 228 kB / 0.6445 GB, free: 7.141 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.178, allocations: 12.22 kB / 0.6446 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004068/0.1821, allocations: 0.7557 MB / 0.6453 GB, free: 6.348 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.1824, allocations: 0.6924 MB / 0.646 GB, free: 5.629 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000532/0.1829, allocations: 88.67 kB / 0.6461 GB, free: 5.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.1832, allocations: 59.3 kB / 0.6461 GB, free: 5.484 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1832, allocations: 0 / 0.6461 GB, free: 5.484 MB / 494.1 MB Notification: Performance of Templates: time 0.00585/0.189, allocations: 3.475 MB / 0.6495 GB, free: 2 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)