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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009043/0.0009042, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009283/0.0009283, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9931/0.9931, allocations: 143.3 MB / 434.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003158, allocations: 12 kB / 0.5158 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.166, allocations: 83.4 MB / 0.5973 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006852/0.1668, allocations: 330.9 kB / 0.5976 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.1685, allocations: 1.389 MB / 0.599 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.96e-05/0.1686, allocations: 0 / 0.599 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.1686, allocations: 0 / 0.599 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.745e-05/0.1686, allocations: 0 / 0.599 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.1691, allocations: 119.6 kB / 0.5991 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.672e-05/0.1691, allocations: 19.97 kB / 0.5991 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.1692, allocations: 0 / 0.5991 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.1692, allocations: 15.98 kB / 0.5991 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.573e-05/0.1693, allocations: 31.89 kB / 0.5991 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1693, allocations: 0 / 0.5991 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004624/0.1698, allocations: 303.5 kB / 0.5994 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.1698, allocations: 7.984 kB / 0.5994 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.1699, allocations: 29.7 kB / 0.5995 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.1701, allocations: 135.8 kB / 0.5996 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1701, allocations: 4 kB / 0.5996 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1701, allocations: 7.875 kB / 0.5996 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.1701, allocations: 0 / 0.5996 GB, free: 5.5 MB / 0.4981 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.0005042/0.1706, allocations: 359.6 kB / 0.5999 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1707, allocations: 12.02 kB / 0.6 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000507/0.1712, allocations: 79.83 kB / 0.6 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.1713, allocations: 171 kB / 0.6002 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.1714, allocations: 0 / 0.6002 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.1714, allocations: 8 kB / 0.6002 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.1717, allocations: 77.64 kB / 0.6003 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1717, allocations: 3.984 kB / 0.6003 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.1717, allocations: 0 / 0.6003 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1718, allocations: 4 kB / 0.6003 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.1721, allocations: 75.92 kB / 0.6004 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.1723, allocations: 173.6 kB / 0.6005 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.1729, allocations: 138.5 kB / 0.6007 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005069/0.1735, allocations: 185 kB / 0.6008 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1735, allocations: 30.56 kB / 0.6009 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1735, allocations: 0 / 0.6009 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.00122/0.1747, allocations: 434.2 kB / 0.6013 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1748, allocations: 59.41 kB / 0.6013 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/0.1749, allocations: 89.86 kB / 0.6014 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1749, allocations: 29.7 kB / 0.6014 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.1749, allocations: 84.14 kB / 0.6015 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.175, allocations: 15.73 kB / 0.6015 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.175, allocations: 4 kB / 0.6015 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1751, allocations: 322.7 kB / 0.6019 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.1753, allocations: 40.09 kB / 0.6019 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.1755, allocations: 47.95 kB / 0.6019 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.1756, allocations: 39.97 kB / 0.602 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1756, allocations: 3.938 kB / 0.602 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003779/0.176, allocations: 129.5 kB / 0.6021 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1761, allocations: 4 kB / 0.6021 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1761, allocations: 0 / 0.6021 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1761, allocations: 0 / 0.6021 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1762, allocations: 27.97 kB / 0.6021 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1763, allocations: 0 / 0.6021 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1764, allocations: 19.98 kB / 0.6022 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1764, allocations: 0 / 0.6022 GB, free: 2.609 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.333e-05/0.1765, allocations: 121.7 kB / 0.6023 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.1765, allocations: 3.984 kB / 0.6023 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.177, allocations: 141.2 kB / 0.6024 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.177, allocations: 4 kB / 0.6024 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.177, allocations: 0 / 0.6024 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.177, allocations: 3.984 kB / 0.6024 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.1771, allocations: 169.6 kB / 0.6026 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1771, allocations: 0 / 0.6026 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.1773, allocations: 28.28 kB / 0.6026 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1773, allocations: 3.938 kB / 0.6026 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1773, allocations: 8 kB / 0.6026 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1773, allocations: 0 / 0.6026 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1774, allocations: 0 / 0.6026 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.1779, allocations: 205 kB / 0.6028 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/0.178, allocations: 97.03 kB / 0.6029 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.1781, allocations: 4 kB / 0.6029 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.1782, allocations: 15.98 kB / 0.6029 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.1782, allocations: 0 / 0.6029 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1783, allocations: 7.984 kB / 0.6029 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.379e-05/0.1783, allocations: 79.28 kB / 0.603 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1783, allocations: 96 / 0.603 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002616/0.1786, allocations: 36 kB / 0.603 GB, free: 1.602 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002354/0.1788, allocations: 131.2 kB / 0.6032 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000411/0.1792, allocations: 103.9 kB / 0.6033 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1792, allocations: 0 / 0.6033 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.1794, allocations: 51.95 kB / 0.6033 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.1795, allocations: 3.953 kB / 0.6033 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006076/0.1802, allocations: 208.4 kB / 0.6035 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.1804, allocations: 0.6887 MB / 0.6042 GB, free: 372 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.1805, allocations: 12.33 kB / 0.6042 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.1806, allocations: 15.44 kB / 0.6042 GB, free: 344 kB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1806, allocations: 0 / 0.6042 GB, free: 344 kB / 0.4981 GB Notification: Performance of Templates: time 0.2438/0.4244, allocations: 1.104 MB / 0.6053 GB, free: 40.65 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: