Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001234/0.001234, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.0009677/0.0009678, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001971/0.001971, allocations: 289.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8928/0.8928, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 94.92 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1565, allocations: 86.98 MB / 0.6816 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00166/0.1582, allocations: 0.5875 MB / 0.6822 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1597, allocations: 1.454 MB / 0.6836 GB, free: 5.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.1598, allocations: 0 / 0.6836 GB, free: 5.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.1598, allocations: 0 / 0.6836 GB, free: 5.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.343e-05/0.1598, allocations: 3.938 kB / 0.6836 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.1603, allocations: 146.4 kB / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.1603, allocations: 31.97 kB / 0.6838 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.1604, allocations: 0 / 0.6838 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.1604, allocations: 15.98 kB / 0.6838 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.49e-05/0.1605, allocations: 27.89 kB / 0.6838 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1605, allocations: 4 kB / 0.6838 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.1609, allocations: 315.4 kB / 0.6841 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.161, allocations: 7.984 kB / 0.6841 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.161, allocations: 15.92 kB / 0.6842 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1612, allocations: 187.6 kB / 0.6843 GB, free: 4.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1613, allocations: 0 / 0.6843 GB, free: 4.613 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1613, allocations: 0 / 0.6843 GB, free: 4.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1613, allocations: 0 / 0.6843 GB, free: 4.613 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.0004531/0.1617, allocations: 367.5 kB / 0.6847 GB, free: 4.207 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1618, allocations: 12.03 kB / 0.6847 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00041/0.1622, allocations: 64.86 kB / 0.6848 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.752e-05/0.1623, allocations: 172.2 kB / 0.6849 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1623, allocations: 8.375 kB / 0.6849 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1623, allocations: 8.359 kB / 0.6849 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.1626, allocations: 69.95 kB / 0.685 GB, free: 3.836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.1626, allocations: 4 kB / 0.685 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1626, allocations: 0 / 0.685 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1626, allocations: 0 / 0.685 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.1629, allocations: 63.92 kB / 0.6851 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.1631, allocations: 177.7 kB / 0.6852 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.1636, allocations: 118.6 kB / 0.6854 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.1637, allocations: 40.81 kB / 0.6854 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004092/0.1642, allocations: 157 kB / 0.6855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1642, allocations: 38.44 kB / 0.6856 GB, free: 3.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1642, allocations: 0 / 0.6856 GB, free: 3.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001036/0.1652, allocations: 406.2 kB / 0.686 GB, free: 2.711 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.1653, allocations: 55.39 kB / 0.686 GB, free: 2.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.242e-05/0.1653, allocations: 101.9 kB / 0.6861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1654, allocations: 25.7 kB / 0.6861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.1654, allocations: 80.14 kB / 0.6862 GB, free: 2.422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1654, allocations: 19.75 kB / 0.6862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.1655, allocations: 21.7 kB / 0.6863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.1656, allocations: 314.8 kB / 0.6866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1657, allocations: 40.03 kB / 0.6866 GB, free: 2.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1658, allocations: 35.95 kB / 0.6866 GB, free: 1.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.1661, allocations: 80.73 kB / 0.6867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1661, allocations: 0 / 0.6867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003246/0.1665, allocations: 113.6 kB / 0.6868 GB, free: 1.785 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.1665, allocations: 4 kB / 0.6868 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.1665, allocations: 0 / 0.6868 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1665, allocations: 4 kB / 0.6868 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1666, allocations: 27.97 kB / 0.6869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1667, allocations: 0 / 0.6869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.053e-05/0.1667, allocations: 11.98 kB / 0.6869 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1668, allocations: 0 / 0.6869 GB, free: 1.738 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 6.64e-05/0.1668, allocations: 117.8 kB / 0.687 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.1669, allocations: 11.83 kB / 0.687 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.1673, allocations: 129.2 kB / 0.6871 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1673, allocations: 0 / 0.6871 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1673, allocations: 4 kB / 0.6871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1673, allocations: 3.984 kB / 0.6871 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.1674, allocations: 161.7 kB / 0.6873 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1674, allocations: 320 / 0.6873 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.1676, allocations: 35.91 kB / 0.6873 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1676, allocations: 336 / 0.6873 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1676, allocations: 7.938 kB / 0.6873 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1676, allocations: 0 / 0.6873 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1676, allocations: 0 / 0.6873 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.1681, allocations: 185 kB / 0.6875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.1682, allocations: 96.98 kB / 0.6876 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1682, allocations: 7.969 kB / 0.6876 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1683, allocations: 11.98 kB / 0.6876 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.1684, allocations: 4 kB / 0.6876 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1684, allocations: 7.984 kB / 0.6876 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.11e-05/0.1684, allocations: 75.28 kB / 0.6877 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1684, allocations: 0 / 0.6877 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002054/0.1686, allocations: 32.09 kB / 0.6877 GB, free: 0.7578 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.0001701/0.1688, allocations: 139.1 kB / 0.6878 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003261/0.1691, allocations: 83.92 kB / 0.6879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1691, allocations: 0 / 0.6879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.1693, allocations: 43.95 kB / 0.688 GB, free: 496 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1694, allocations: 6.656 kB / 0.688 GB, free: 492 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.17, allocations: 193.3 kB / 0.6882 GB, free: 272 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2261/0.3961, allocations: 0.6738 MB / 0.6888 GB, free: 17.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.3963, allocations: 16.7 kB / 0.6888 GB, free: 17.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.3963, allocations: 12.39 kB / 0.6888 GB, free: 17.65 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3963, allocations: 2.062 kB / 0.6888 GB, free: 17.65 MB / 494.1 MB Notification: Performance of Templates: time 0.003411/0.3997, allocations: 1.154 MB / 0.69 GB, free: 17.62 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)