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.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 101.9 kB / 16.4 MB, free: 6.461 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.001113/0.001113, allocations: 196 kB / 17.34 MB, free: 5.715 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.356/1.356, 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.7618/0.7618, allocations: 122.9 MB / 414.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 64.81 kB / 0.5685 GB, free: 28.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.158, allocations: 77.94 MB / 0.6446 GB, free: 8.949 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001787/0.1598, allocations: 0.5766 MB / 0.6452 GB, free: 8.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1616, allocations: 1.455 MB / 0.6466 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.1616, allocations: 4 kB / 0.6466 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.1617, allocations: 0 / 0.6466 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.626e-05/0.1617, allocations: 0 / 0.6466 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.1623, allocations: 143.4 kB / 0.6467 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.1624, allocations: 35.95 kB / 0.6468 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.1624, allocations: 0 / 0.6468 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.562e-05/0.1625, allocations: 15.92 kB / 0.6468 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.1626, allocations: 23.97 kB / 0.6468 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.1626, allocations: 0 / 0.6468 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005142/0.1632, allocations: 327.2 kB / 0.6471 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.1632, allocations: 11.92 kB / 0.6471 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.1632, allocations: 7.984 kB / 0.6471 GB, free: 6.344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.1635, allocations: 195.5 kB / 0.6473 GB, free: 6.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1635, allocations: 0 / 0.6473 GB, free: 6.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1636, allocations: 0 / 0.6473 GB, free: 6.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1636, allocations: 4 kB / 0.6473 GB, free: 6.148 MB / 494.1 MB 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.0005324/0.1641, allocations: 363.1 kB / 0.6477 GB, free: 5.746 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1641, allocations: 12.62 kB / 0.6477 GB, free: 5.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/0.1646, allocations: 64.84 kB / 0.6478 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.1647, allocations: 168.4 kB / 0.6479 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1647, allocations: 384 / 0.6479 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1648, allocations: 384 / 0.6479 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.165, allocations: 81.94 kB / 0.648 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1651, allocations: 4 kB / 0.648 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1651, allocations: 0 / 0.648 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1651, allocations: 4 kB / 0.648 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.1654, allocations: 67.86 kB / 0.6481 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.1656, allocations: 165.6 kB / 0.6482 GB, free: 5.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/0.1662, allocations: 122.6 kB / 0.6483 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.1664, allocations: 40.92 kB / 0.6484 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004428/0.1668, allocations: 153 kB / 0.6485 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1669, allocations: 46.5 kB / 0.6486 GB, free: 4.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1669, allocations: 0 / 0.6486 GB, free: 4.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001127/0.168, allocations: 410.1 kB / 0.649 GB, free: 4.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.168, allocations: 55.34 kB / 0.649 GB, free: 4.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.468e-05/0.1681, allocations: 93.86 kB / 0.6491 GB, free: 4.082 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1681, allocations: 25.7 kB / 0.6491 GB, free: 4.051 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.1682, allocations: 84.12 kB / 0.6492 GB, free: 3.965 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.1682, allocations: 23.84 kB / 0.6492 GB, free: 3.941 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.1682, allocations: 21.84 kB / 0.6493 GB, free: 3.914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.1683, allocations: 314.8 kB / 0.6496 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1685, allocations: 35.97 kB / 0.6496 GB, free: 3.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.1687, allocations: 35.97 kB / 0.6496 GB, free: 3.527 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.169, allocations: 80.8 kB / 0.6497 GB, free: 3.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.169, allocations: 0 / 0.6497 GB, free: 3.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003529/0.1693, allocations: 117.5 kB / 0.6498 GB, free: 3.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1694, allocations: 4 kB / 0.6498 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1694, allocations: 0 / 0.6498 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1694, allocations: 0 / 0.6498 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1695, allocations: 23.97 kB / 0.6498 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1695, allocations: 4 kB / 0.6498 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.637e-05/0.1696, allocations: 19.92 kB / 0.6499 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1697, allocations: 4 kB / 0.6499 GB, free: 3.27 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 (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 7.321e-05/0.1697, allocations: 106.7 kB / 0.65 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.1698, allocations: 11.89 kB / 0.65 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.1702, allocations: 145.3 kB / 0.6501 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1702, allocations: 0 / 0.6501 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1703, allocations: 0 / 0.6501 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1703, allocations: 0 / 0.6501 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.1704, allocations: 165.7 kB / 0.6503 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1704, allocations: 3.938 kB / 0.6503 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.1706, allocations: 27.91 kB / 0.6503 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1706, allocations: 0 / 0.6503 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1706, allocations: 0 / 0.6503 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1706, allocations: 8 kB / 0.6503 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1706, allocations: 0 / 0.6503 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/0.1712, allocations: 177 kB / 0.6505 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.1712, allocations: 93.02 kB / 0.6506 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1713, allocations: 3.938 kB / 0.6506 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.1714, allocations: 24.03 kB / 0.6506 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.1714, allocations: 4 kB / 0.6506 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1714, allocations: 4 kB / 0.6506 GB, free: 2.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.1715, allocations: 75.28 kB / 0.6507 GB, free: 2.336 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1715, allocations: 0 / 0.6507 GB, free: 2.336 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1717, allocations: 35.86 kB / 0.6507 GB, free: 2.301 MB / 494.1 MB 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.0001894/0.1719, allocations: 127.1 kB / 0.6508 GB, free: 2.164 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003758/0.1723, allocations: 84.02 kB / 0.6509 GB, free: 2.082 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1723, allocations: 0 / 0.6509 GB, free: 2.082 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.1725, allocations: 47.91 kB / 0.651 GB, free: 2.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.1726, allocations: 8 kB / 0.651 GB, free: 2.027 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.1732, allocations: 177.3 kB / 0.6511 GB, free: 1.828 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1735, allocations: 0.6807 MB / 0.6518 GB, free: 1.121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.076e-05/0.1736, allocations: 19.94 kB / 0.6518 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.1736, allocations: 15.42 kB / 0.6518 GB, free: 1.086 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1736, allocations: 4 kB / 0.6518 GB, free: 1.082 MB / 494.1 MB Notification: Performance of Templates: time 0.003429/0.1771, allocations: 1.167 MB / 0.653 GB, free: 15.91 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)