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.0007566/0.0007565, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.004699/0.004699, allocations: 172.3 kB / 16.26 MB, free: 6.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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001723/0.001723, allocations: 275.1 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9472/0.9472, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003997, allocations: 16.61 kB / 0.5987 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007133/0.1505, allocations: 323.3 kB / 0.6854 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1522, allocations: 1.452 MB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.325e-05/0.1523, allocations: 0 / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.078e-05/0.1523, allocations: 0.625 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.513e-05/0.1523, allocations: 0 / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.1527, allocations: 115.9 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.66e-05/0.1528, allocations: 35.91 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.1528, allocations: 0 / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.1529, allocations: 15.97 kB / 0.687 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.153, allocations: 28.59 kB / 0.6871 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.153, allocations: 0 / 0.6871 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004172/0.1534, allocations: 322.8 kB / 0.6874 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.1534, allocations: 7.984 kB / 0.6874 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.1535, allocations: 37.62 kB / 0.6874 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1538, allocations: 187.6 kB / 0.6876 GB, free: 12.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1538, allocations: 0 / 0.6876 GB, free: 12.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1538, allocations: 0 / 0.6876 GB, free: 12.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1538, allocations: 0 / 0.6876 GB, free: 12.53 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.0004775/0.1543, allocations: 359.8 kB / 0.6879 GB, free: 12.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1543, allocations: 8.531 kB / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/0.1548, allocations: 87.25 kB / 0.688 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1549, allocations: 172.2 kB / 0.6882 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.155, allocations: 384 / 0.6882 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.155, allocations: 5.031 kB / 0.6882 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.1552, allocations: 90.59 kB / 0.6883 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1553, allocations: 0 / 0.6883 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1553, allocations: 4 kB / 0.6883 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1553, allocations: 0 / 0.6883 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.1556, allocations: 71.75 kB / 0.6883 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.1558, allocations: 162.7 kB / 0.6885 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/0.1564, allocations: 146.5 kB / 0.6886 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.1566, allocations: 52.92 kB / 0.6887 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004751/0.1571, allocations: 177 kB / 0.6889 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1571, allocations: 34.5 kB / 0.6889 GB, free: 11.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1571, allocations: 0 / 0.6889 GB, free: 11.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001179/0.1583, allocations: 442.2 kB / 0.6893 GB, free: 10.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.1584, allocations: 51.41 kB / 0.6894 GB, free: 10.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.629e-05/0.1584, allocations: 101.9 kB / 0.6895 GB, free: 10.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1584, allocations: 25.7 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.1585, allocations: 80.14 kB / 0.6896 GB, free: 10.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.1585, allocations: 19.73 kB / 0.6896 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.1585, allocations: 13.72 kB / 0.6896 GB, free: 10.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.1587, allocations: 310.8 kB / 0.6899 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.1588, allocations: 52.03 kB / 0.6899 GB, free: 9.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.159, allocations: 47.95 kB / 0.69 GB, free: 9.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.1593, allocations: 92.8 kB / 0.6901 GB, free: 9.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1593, allocations: 0 / 0.6901 GB, free: 9.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000375/0.1597, allocations: 121.6 kB / 0.6902 GB, free: 9.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1597, allocations: 5.875 kB / 0.6902 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1597, allocations: 0 / 0.6902 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1598, allocations: 3.984 kB / 0.6902 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1599, allocations: 31.92 kB / 0.6902 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1599, allocations: 0 / 0.6902 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.16, allocations: 19.98 kB / 0.6903 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1601, allocations: 0 / 0.6903 GB, free: 9.531 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.613e-05/0.1601, allocations: 123.1 kB / 0.6904 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.1602, allocations: 11.78 kB / 0.6904 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/0.1606, allocations: 149.2 kB / 0.6905 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1607, allocations: 0 / 0.6905 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1607, allocations: 3.984 kB / 0.6905 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1607, allocations: 0 / 0.6905 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.1608, allocations: 161.7 kB / 0.6907 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1608, allocations: 336 / 0.6907 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.161, allocations: 39.84 kB / 0.6907 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.161, allocations: 320 / 0.6907 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.161, allocations: 4 kB / 0.6907 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.161, allocations: 4 kB / 0.6907 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.161, allocations: 0 / 0.6907 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.1616, allocations: 209 kB / 0.6909 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.12e-05/0.1617, allocations: 89.06 kB / 0.691 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.1617, allocations: 0 / 0.691 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1618, allocations: 19.98 kB / 0.691 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.1619, allocations: 12.05 kB / 0.691 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1619, allocations: 0 / 0.691 GB, free: 8.621 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.362e-05/0.1619, allocations: 79.28 kB / 0.6911 GB, free: 8.543 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1619, allocations: 0 / 0.6911 GB, free: 8.543 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.1622, allocations: 32 kB / 0.6911 GB, free: 8.512 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.0001959/0.1624, allocations: 123.2 kB / 0.6913 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.1628, allocations: 100 kB / 0.6914 GB, free: 8.281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1628, allocations: 0 / 0.6914 GB, free: 8.281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.163, allocations: 51.89 kB / 0.6914 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.1631, allocations: 11.94 kB / 0.6914 GB, free: 8.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/0.1637, allocations: 208.4 kB / 0.6916 GB, free: 7.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.164, allocations: 0.6809 MB / 0.6923 GB, free: 7.285 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.1641, allocations: 19.94 kB / 0.6923 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.1641, allocations: 15.42 kB / 0.6923 GB, free: 7.25 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1641, allocations: 4 kB / 0.6923 GB, free: 7.246 MB / 494.1 MB Notification: Performance of Templates: time 0.003266/0.1674, allocations: 1.114 MB / 0.6934 GB, free: 6.141 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)