Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007268/0.007268, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001628/0.001628, allocations: 193.2 kB / 16.67 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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 1.078/1.078, allocations: 143 MB / 433.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.91 kB / 0.5956 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.472, allocations: 82.02 MB / 0.6757 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002102/0.4741, allocations: 0.7862 MB / 0.6764 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.4761, allocations: 1.486 MB / 0.6779 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.4762, allocations: 1.031 kB / 0.6779 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.4762, allocations: 3.938 kB / 0.6779 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.566e-05/0.4763, allocations: 3.938 kB / 0.6779 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.4769, allocations: 141.6 kB / 0.678 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.477, allocations: 47.7 kB / 0.6781 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.4771, allocations: 3.875 kB / 0.6781 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.638e-05/0.4772, allocations: 31.23 kB / 0.6781 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.4773, allocations: 37.5 kB / 0.6782 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.4773, allocations: 3.406 kB / 0.6782 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005139/0.4778, allocations: 318.7 kB / 0.6785 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.4778, allocations: 15.5 kB / 0.6785 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.4779, allocations: 25.39 kB / 0.6785 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.4783, allocations: 217.9 kB / 0.6787 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4783, allocations: 0 / 0.6787 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4783, allocations: 0 / 0.6787 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4783, allocations: 0 / 0.6787 GB, free: 15.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007652/0.4791, allocations: 398.4 kB / 0.6791 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.4792, allocations: 13.97 kB / 0.6791 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.4796, allocations: 74.17 kB / 0.6792 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.4798, allocations: 162.5 kB / 0.6793 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.4798, allocations: 10.38 kB / 0.6793 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.4799, allocations: 13.48 kB / 0.6794 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.4803, allocations: 110.8 kB / 0.6795 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4803, allocations: 4 kB / 0.6795 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.4803, allocations: 1.438 kB / 0.6795 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4803, allocations: 1.188 kB / 0.6795 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.4808, allocations: 102.3 kB / 0.6796 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.4815, allocations: 345.6 kB / 0.6799 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.4821, allocations: 155.8 kB / 0.68 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.4823, allocations: 58.03 kB / 0.6801 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.4824, allocations: 5.891 kB / 0.6801 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.4824, allocations: 35.94 kB / 0.6801 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.4824, allocations: 0 / 0.6801 GB, free: 13.92 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01767/0.5001, allocations: 2.832 MB / 0.6829 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.5002, allocations: 56.72 kB / 0.683 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.5003, allocations: 99.44 kB / 0.6831 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.5003, allocations: 33.64 kB / 0.6831 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.5004, allocations: 82.89 kB / 0.6832 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.5005, allocations: 51.75 kB / 0.6832 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.5006, allocations: 66.39 kB / 0.6833 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.5008, allocations: 318.8 kB / 0.6836 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006995/0.5015, allocations: 192.5 kB / 0.6838 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.5021, allocations: 190.8 kB / 0.6839 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.5035, allocations: 395.7 kB / 0.6843 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5035, allocations: 1.094 kB / 0.6843 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001589/0.5051, allocations: 484.2 kB / 0.6848 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.5051, allocations: 5.875 kB / 0.6848 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5051, allocations: 0 / 0.6848 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.5052, allocations: 1.25 kB / 0.6848 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008315/0.506, allocations: 113.6 kB / 0.6849 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.506, allocations: 3.938 kB / 0.6849 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.5066, allocations: 47 kB / 0.6849 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/0.5067, allocations: 21.59 kB / 0.685 GB, free: 10.78 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 (13): * Single equations (assignments): 13 * 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 0.0001737/0.5069, allocations: 124.4 kB / 0.6851 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.807e-05/0.507, allocations: 4.25 kB / 0.6851 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.546e-05/0.507, allocations: 15.95 kB / 0.6851 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.507, allocations: 1.375 kB / 0.6851 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5071, allocations: 5.344 kB / 0.6851 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5071, allocations: 0 / 0.6851 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.5093, allocations: 1.048 MB / 0.6861 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5093, allocations: 0 / 0.6861 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007747/0.5101, allocations: 105 kB / 0.6862 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5101, allocations: 13.55 kB / 0.6863 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/0.5102, allocations: 23.62 kB / 0.6863 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5102, allocations: 1.25 kB / 0.6863 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5102, allocations: 0 / 0.6863 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.5126, allocations: 0.7867 MB / 0.687 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.5127, allocations: 120 kB / 0.6872 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.5128, allocations: 5.344 kB / 0.6872 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006595/0.5135, allocations: 46.06 kB / 0.6872 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.5136, allocations: 26.39 kB / 0.6872 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.5137, allocations: 27.09 kB / 0.6873 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.045e-05/0.5137, allocations: 85.92 kB / 0.6873 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5137, allocations: 0 / 0.6873 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004145/0.5141, allocations: 50.84 kB / 0.6874 GB, free: 8.891 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002569/0.5144, allocations: 113.4 kB / 0.6875 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.516, allocations: 422.4 kB / 0.6879 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.516, allocations: 1.5 kB / 0.6879 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.5167, allocations: 228.7 kB / 0.6881 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.5172, allocations: 14.95 kB / 0.6881 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.5214, allocations: 0.7582 MB / 0.6889 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.5217, allocations: 0.695 MB / 0.6896 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000552/0.5223, allocations: 91.89 kB / 0.6896 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.5225, allocations: 51.97 kB / 0.6897 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of SimCode: time 2.024e-06/0.5225, allocations: 4 kB / 0.6897 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of Templates: time 0.006887/0.5294, allocations: 3.488 MB / 0.6931 GB, free: 4.141 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)