Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7227/0.7227, allocations: 128.7 MB / 144.5 MB, free: 1.375 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 190.1 kB / 174.3 MB, free: 5.918 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205 MB / 408.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001048, allocations: 86.36 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 58.58 kB / 0.558 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1625, allocations: 75.47 MB / 0.6317 GB, free: 33.01 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002021/0.1645, allocations: 0.6551 MB / 0.6323 GB, free: 32.35 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1663, allocations: 1.508 MB / 0.6338 GB, free: 30.82 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.1663, allocations: 3.938 kB / 0.6338 GB, free: 30.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.1663, allocations: 0 / 0.6338 GB, free: 30.82 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.55e-05/0.1664, allocations: 0 / 0.6338 GB, free: 30.82 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.1668, allocations: 121.3 kB / 0.6339 GB, free: 30.7 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.121e-05/0.1669, allocations: 27.97 kB / 0.634 GB, free: 30.67 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.717e-05/0.167, allocations: 0 / 0.634 GB, free: 30.67 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.167, allocations: 19.97 kB / 0.634 GB, free: 30.65 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.1671, allocations: 23.91 kB / 0.634 GB, free: 30.63 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1671, allocations: 7.938 kB / 0.634 GB, free: 30.62 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.1675, allocations: 319.3 kB / 0.6343 GB, free: 30.31 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.1675, allocations: 11.98 kB / 0.6343 GB, free: 30.3 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.1676, allocations: 11.92 kB / 0.6343 GB, free: 30.29 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.1679, allocations: 183.7 kB / 0.6345 GB, free: 30.11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1679, allocations: 0 / 0.6345 GB, free: 30.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1679, allocations: 0 / 0.6345 GB, free: 30.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1679, allocations: 0 / 0.6345 GB, free: 30.11 MB / 442.7 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.0004859/0.1684, allocations: 359.5 kB / 0.6348 GB, free: 29.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1685, allocations: 15.97 kB / 0.6349 GB, free: 29.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004388/0.1689, allocations: 64.84 kB / 0.6349 GB, free: 29.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.093e-05/0.169, allocations: 180.5 kB / 0.6351 GB, free: 29.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.169, allocations: 8.359 kB / 0.6351 GB, free: 29.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.1691, allocations: 384 / 0.6351 GB, free: 29.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.1693, allocations: 73.95 kB / 0.6352 GB, free: 29.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1693, allocations: 0 / 0.6352 GB, free: 29.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.1693, allocations: 3.938 kB / 0.6352 GB, free: 29.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1693, allocations: 4 kB / 0.6352 GB, free: 29.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.1696, allocations: 63.92 kB / 0.6352 GB, free: 29.26 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.1698, allocations: 165.7 kB / 0.6354 GB, free: 29.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.1704, allocations: 118.5 kB / 0.6355 GB, free: 28.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.1705, allocations: 44.97 kB / 0.6356 GB, free: 28.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004183/0.171, allocations: 157 kB / 0.6357 GB, free: 28.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.171, allocations: 42.44 kB / 0.6357 GB, free: 28.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.171, allocations: 0 / 0.6357 GB, free: 28.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.001108/0.1721, allocations: 406.2 kB / 0.6361 GB, free: 28.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.1722, allocations: 55.34 kB / 0.6362 GB, free: 28.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.116e-05/0.1722, allocations: 101.8 kB / 0.6363 GB, free: 28.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1722, allocations: 25.7 kB / 0.6363 GB, free: 28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.583e-05/0.1723, allocations: 80.14 kB / 0.6364 GB, free: 27.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.1723, allocations: 19.75 kB / 0.6364 GB, free: 27.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.1723, allocations: 21.7 kB / 0.6364 GB, free: 27.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.435e-05/0.1724, allocations: 310.8 kB / 0.6367 GB, free: 27.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.1726, allocations: 40.09 kB / 0.6368 GB, free: 27.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1727, allocations: 31.97 kB / 0.6368 GB, free: 27.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.173, allocations: 80.8 kB / 0.6369 GB, free: 27.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.173, allocations: 0 / 0.6369 GB, free: 27.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00033/0.1733, allocations: 117.5 kB / 0.637 GB, free: 27.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1734, allocations: 4 kB / 0.637 GB, free: 27.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1734, allocations: 0 / 0.637 GB, free: 27.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1734, allocations: 3.938 kB / 0.637 GB, free: 27.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.1735, allocations: 27.97 kB / 0.637 GB, free: 27.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1736, allocations: 4 kB / 0.637 GB, free: 27.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.325e-05/0.1737, allocations: 11.98 kB / 0.637 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1737, allocations: 4 kB / 0.637 GB, free: 27.23 MB / 442.7 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 5.451e-05/0.1737, allocations: 105.8 kB / 0.6371 GB, free: 27.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.1738, allocations: 11.84 kB / 0.6371 GB, free: 27.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.1742, allocations: 141.1 kB / 0.6373 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1742, allocations: 0 / 0.6373 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1742, allocations: 0 / 0.6373 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1742, allocations: 0 / 0.6373 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.1743, allocations: 173.9 kB / 0.6374 GB, free: 26.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1743, allocations: 0 / 0.6374 GB, free: 26.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.1745, allocations: 32.22 kB / 0.6375 GB, free: 26.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1745, allocations: 0 / 0.6375 GB, free: 26.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1745, allocations: 4 kB / 0.6375 GB, free: 26.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1745, allocations: 7.984 kB / 0.6375 GB, free: 26.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1745, allocations: 0 / 0.6375 GB, free: 26.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00372/0.1783, allocations: 1.411 MB / 0.6389 GB, free: 25.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.1783, allocations: 85.12 kB / 0.6389 GB, free: 25.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.1783, allocations: 0 / 0.6389 GB, free: 25.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1785, allocations: 11.98 kB / 0.639 GB, free: 25.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.1785, allocations: 8 kB / 0.639 GB, free: 25.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1785, allocations: 3.938 kB / 0.639 GB, free: 25.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.305e-05/0.1785, allocations: 87.33 kB / 0.6391 GB, free: 24.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1785, allocations: 0 / 0.6391 GB, free: 24.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002728/0.1788, allocations: 28 kB / 0.6391 GB, free: 24.91 MB / 442.7 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.0002073/0.179, allocations: 139.1 kB / 0.6392 GB, free: 24.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.1794, allocations: 84.02 kB / 0.6393 GB, free: 24.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1794, allocations: 0 / 0.6393 GB, free: 24.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.1796, allocations: 47.95 kB / 0.6393 GB, free: 24.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.1798, allocations: 15.88 kB / 0.6394 GB, free: 24.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.1805, allocations: 294.1 kB / 0.6396 GB, free: 24.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.1806, allocations: 0.677 MB / 0.6403 GB, free: 23.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.1808, allocations: 19.98 kB / 0.6403 GB, free: 23.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.1808, allocations: 11.44 kB / 0.6403 GB, free: 23.56 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1808, allocations: 0 / 0.6403 GB, free: 23.56 MB / 442.7 MB Notification: Performance of Templates: time 0.003192/0.184, allocations: 1.181 MB / 0.6415 GB, free: 22.38 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)