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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001083/0.001082, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001135/0.001135, allocations: 187 kB / 17.34 MB, free: 5.742 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8416/0.8416, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 64.12 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1506, allocations: 82.04 MB / 0.6764 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001691/0.1523, allocations: 0.5944 MB / 0.6769 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1542, allocations: 1.455 MB / 0.6784 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.1543, allocations: 0 / 0.6784 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.1543, allocations: 0 / 0.6784 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.856e-05/0.1544, allocations: 3.938 kB / 0.6784 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005707/0.155, allocations: 143.4 kB / 0.6785 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.155, allocations: 31.95 kB / 0.6785 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.1551, allocations: 0 / 0.6785 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/0.1551, allocations: 15.98 kB / 0.6785 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.663e-05/0.1552, allocations: 31.84 kB / 0.6786 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1553, allocations: 0 / 0.6786 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004818/0.1557, allocations: 319.3 kB / 0.6789 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.1558, allocations: 3.984 kB / 0.6789 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.1558, allocations: 19.92 kB / 0.6789 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.1561, allocations: 191.6 kB / 0.6791 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1561, allocations: 0 / 0.6791 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.244e-06/0.1561, allocations: 0 / 0.6791 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.1562, allocations: 0 / 0.6791 GB, free: 7.496 MB / 0.5137 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.0005383/0.1567, allocations: 359.5 kB / 0.6794 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1567, allocations: 16.02 kB / 0.6794 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004885/0.1572, allocations: 60.86 kB / 0.6795 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1574, allocations: 172.2 kB / 0.6797 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.1574, allocations: 4.375 kB / 0.6797 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.1574, allocations: 8.375 kB / 0.6797 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.1577, allocations: 73.95 kB / 0.6797 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.1577, allocations: 0 / 0.6797 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1577, allocations: 0 / 0.6797 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1577, allocations: 4 kB / 0.6798 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.1581, allocations: 67.91 kB / 0.6798 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.1583, allocations: 161.7 kB / 0.68 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.159, allocations: 126.5 kB / 0.6801 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.1592, allocations: 44.91 kB / 0.6801 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004961/0.1597, allocations: 153 kB / 0.6803 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1597, allocations: 38.5 kB / 0.6803 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1597, allocations: 0 / 0.6803 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.001297/0.161, allocations: 402.2 kB / 0.6807 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1611, allocations: 51.41 kB / 0.6808 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.1612, allocations: 101.8 kB / 0.6808 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.1612, allocations: 25.83 kB / 0.6809 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.1612, allocations: 84.14 kB / 0.681 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.1613, allocations: 23.73 kB / 0.681 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.1613, allocations: 21.7 kB / 0.681 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1615, allocations: 310.8 kB / 0.6813 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.1616, allocations: 47.97 kB / 0.6813 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.1618, allocations: 35.95 kB / 0.6814 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.1621, allocations: 76.75 kB / 0.6814 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1621, allocations: 0 / 0.6814 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003758/0.1625, allocations: 117.6 kB / 0.6816 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1625, allocations: 4 kB / 0.6816 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1625, allocations: 0 / 0.6816 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1626, allocations: 3.938 kB / 0.6816 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.1627, allocations: 23.97 kB / 0.6816 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1627, allocations: 4 kB / 0.6816 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.802e-05/0.1629, allocations: 11.98 kB / 0.6816 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1629, allocations: 4 kB / 0.6816 GB, free: 4.625 MB / 0.5137 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 7.742e-05/0.163, allocations: 113.8 kB / 0.6817 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.163, allocations: 11.84 kB / 0.6817 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.1634, allocations: 133.2 kB / 0.6819 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1635, allocations: 0 / 0.6819 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1635, allocations: 0 / 0.6819 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1635, allocations: 0 / 0.6819 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.1636, allocations: 169.7 kB / 0.682 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1636, allocations: 0 / 0.682 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.1638, allocations: 27.91 kB / 0.682 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1638, allocations: 4.25 kB / 0.682 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1638, allocations: 0 / 0.682 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1638, allocations: 11.94 kB / 0.6821 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1638, allocations: 0 / 0.6821 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.1644, allocations: 185 kB / 0.6822 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.1645, allocations: 92.97 kB / 0.6823 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.1645, allocations: 0 / 0.6823 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1646, allocations: 16.05 kB / 0.6823 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.1647, allocations: 4 kB / 0.6823 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.1647, allocations: 11.98 kB / 0.6824 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.1647, allocations: 75.28 kB / 0.6824 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1647, allocations: 0 / 0.6824 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002526/0.165, allocations: 24 kB / 0.6824 GB, free: 3.664 MB / 0.5137 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.0002271/0.1652, allocations: 139.2 kB / 0.6826 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003918/0.1656, allocations: 87.86 kB / 0.6827 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1656, allocations: 0 / 0.6827 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.1658, allocations: 43.95 kB / 0.6827 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.166, allocations: 8 kB / 0.6827 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006419/0.1667, allocations: 210.9 kB / 0.6829 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.1669, allocations: 0.6768 MB / 0.6836 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.1669, allocations: 15.42 kB / 0.6836 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.1669, allocations: 4 kB / 0.6836 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of Templates: time 0.00274/0.1697, allocations: 1.145 MB / 0.6847 GB, free: 1.273 MB / 0.5137 GB 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)