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.004429/0.004429, allocations: 97.06 kB / 15.73 MB, free: 6.059 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.001062/0.001062, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 286.9 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9699/0.9699, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 99.84 kB / 0.6815 GB, free: 15.44 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1525, allocations: 86.97 MB / 0.7664 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001466/0.154, allocations: 0.6002 MB / 0.767 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1557, allocations: 1.45 MB / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.1557, allocations: 0 / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.1557, allocations: 3.938 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.328e-05/0.1558, allocations: 0 / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.1562, allocations: 143.4 kB / 0.7686 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.352e-05/0.1563, allocations: 35.89 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.1563, allocations: 0 / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.195e-05/0.1564, allocations: 15.98 kB / 0.7686 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.897e-05/0.1564, allocations: 19.97 kB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1565, allocations: 7.938 kB / 0.7686 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004248/0.1569, allocations: 319.3 kB / 0.7689 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.1569, allocations: 7.984 kB / 0.769 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.1569, allocations: 11.98 kB / 0.769 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.1572, allocations: 191.5 kB / 0.7691 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1572, allocations: 0 / 0.7691 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1572, allocations: 0 / 0.7691 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1573, allocations: 0 / 0.7691 GB, free: 5.578 MB / 0.5606 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.0004703/0.1577, allocations: 363.1 kB / 0.7695 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1578, allocations: 19.91 kB / 0.7695 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004262/0.1582, allocations: 72.84 kB / 0.7696 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.564e-05/0.1583, allocations: 160.4 kB / 0.7697 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1583, allocations: 4.375 kB / 0.7697 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1584, allocations: 4.375 kB / 0.7697 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.1586, allocations: 77.88 kB / 0.7698 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.1586, allocations: 7.984 kB / 0.7698 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1586, allocations: 0 / 0.7698 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1586, allocations: 0 / 0.7698 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.1589, allocations: 67.92 kB / 0.7699 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.1591, allocations: 161.7 kB / 0.77 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005522/0.1597, allocations: 126.5 kB / 0.7702 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.1598, allocations: 40.91 kB / 0.7702 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004173/0.1603, allocations: 157 kB / 0.7704 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1603, allocations: 38.5 kB / 0.7704 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1603, allocations: 0 / 0.7704 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.001131/0.1614, allocations: 406.1 kB / 0.7708 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1615, allocations: 51.41 kB / 0.7708 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.1616, allocations: 97.94 kB / 0.7709 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1616, allocations: 29.73 kB / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.1616, allocations: 84.14 kB / 0.771 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.1617, allocations: 19.84 kB / 0.771 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.1617, allocations: 21.7 kB / 0.7711 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1618, allocations: 314.8 kB / 0.7714 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.162, allocations: 39.91 kB / 0.7714 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1621, allocations: 36.03 kB / 0.7714 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.1624, allocations: 80.8 kB / 0.7715 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1624, allocations: 0 / 0.7715 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003449/0.1628, allocations: 113.6 kB / 0.7716 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1628, allocations: 4 kB / 0.7716 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1628, allocations: 0 / 0.7716 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1628, allocations: 4 kB / 0.7716 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.163, allocations: 31.91 kB / 0.7717 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.163, allocations: 4 kB / 0.7717 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-05/0.1631, allocations: 11.98 kB / 0.7717 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1631, allocations: 0 / 0.7717 GB, free: 2.695 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.227e-05/0.1632, allocations: 110.5 kB / 0.7718 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.1632, allocations: 7.891 kB / 0.7718 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004353/0.1637, allocations: 141.1 kB / 0.7719 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1637, allocations: 3.938 kB / 0.7719 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1637, allocations: 4 kB / 0.7719 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1637, allocations: 0 / 0.7719 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.1638, allocations: 161.7 kB / 0.7721 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1638, allocations: 0 / 0.7721 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.164, allocations: 35.84 kB / 0.7721 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.164, allocations: 0 / 0.7721 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.164, allocations: 8.25 kB / 0.7721 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.164, allocations: 0 / 0.7721 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.164, allocations: 4 kB / 0.7721 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.1646, allocations: 177 kB / 0.7723 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.1646, allocations: 85.09 kB / 0.7724 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1647, allocations: 16.02 kB / 0.7724 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1648, allocations: 11.98 kB / 0.7724 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.1648, allocations: 336 / 0.7724 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1648, allocations: 4 kB / 0.7724 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.928e-05/0.1649, allocations: 79.27 kB / 0.7725 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1649, allocations: 0 / 0.7725 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002213/0.1651, allocations: 35.88 kB / 0.7725 GB, free: 1.73 MB / 0.5606 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 (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.0001956/0.1653, allocations: 135.1 kB / 0.7727 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003519/0.1656, allocations: 83.92 kB / 0.7727 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1657, allocations: 0 / 0.7727 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.1658, allocations: 43.91 kB / 0.7728 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.166, allocations: 7.938 kB / 0.7728 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.1666, allocations: 191.1 kB / 0.773 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.1668, allocations: 0.6807 MB / 0.7736 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.615e-05/0.1669, allocations: 19.94 kB / 0.7736 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.167, allocations: 15.42 kB / 0.7737 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.167, allocations: 0 / 0.7737 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of Templates: time 0.3062/0.4732, allocations: 1.147 MB / 0.7748 GB, free: 14.54 MB / 0.5606 GB 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)