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.0008362/0.0008362, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008857/0.0008857, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 223.3 MB / 240 MB, free: 5.293 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 0.8328/0.8328, allocations: 143.2 MB / 434.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.0002629, allocations: 8 kB / 0.5158 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1386, allocations: 83.41 MB / 0.5973 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009548/0.1396, allocations: 492 kB / 0.5977 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1416, allocations: 1.412 MB / 0.5991 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.1416, allocations: 0 / 0.5991 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.1417, allocations: 7.938 kB / 0.5991 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/0.1417, allocations: 0 / 0.5991 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.1421, allocations: 111.6 kB / 0.5992 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.561e-05/0.1422, allocations: 43.91 kB / 0.5993 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.632e-05/0.1423, allocations: 8 kB / 0.5993 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.263e-05/0.1424, allocations: 27.91 kB / 0.5993 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.1425, allocations: 31.89 kB / 0.5993 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1425, allocations: 4 kB / 0.5993 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.1429, allocations: 303.4 kB / 0.5996 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.1429, allocations: 11.98 kB / 0.5996 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.143, allocations: 37.64 kB / 0.5997 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1432, allocations: 143.8 kB / 0.5998 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1432, allocations: 0 / 0.5998 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1432, allocations: 0 / 0.5998 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.1432, allocations: 7.938 kB / 0.5998 GB, free: 5.41 MB / 0.4981 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.0005422/0.1438, allocations: 395.4 kB / 0.6002 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1438, allocations: 12.03 kB / 0.6002 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003788/0.1442, allocations: 87.81 kB / 0.6003 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1443, allocations: 167 kB / 0.6004 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.1444, allocations: 7.938 kB / 0.6004 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1444, allocations: 8 kB / 0.6005 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.1447, allocations: 124.7 kB / 0.6006 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1448, allocations: 7.984 kB / 0.6006 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1448, allocations: 4 kB / 0.6006 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.1448, allocations: 4 kB / 0.6006 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.1452, allocations: 123.9 kB / 0.6007 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.1457, allocations: 336.6 kB / 0.601 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/0.1463, allocations: 182.4 kB / 0.6012 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.1465, allocations: 68.81 kB / 0.6013 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.1465, allocations: 0 / 0.6013 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1465, allocations: 34.56 kB / 0.6013 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.1465, allocations: 0 / 0.6013 GB, free: 3.719 MB / 0.4981 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.01472/0.1612, allocations: 3.199 MB / 0.6044 GB, free: 440 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.1613, allocations: 55.41 kB / 0.6045 GB, free: 372 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.019e-05/0.1614, allocations: 97.86 kB / 0.6046 GB, free: 264 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.1614, allocations: 25.7 kB / 0.6046 GB, free: 232 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.1615, allocations: 96.06 kB / 0.6047 GB, free: 132 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.1615, allocations: 39.44 kB / 0.6047 GB, free: 92 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.1616, allocations: 4 kB / 0.6047 GB, free: 88 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.2296/0.3911, allocations: 314.8 kB / 0.605 GB, free: 41.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006627/0.3918, allocations: 213.8 kB / 0.6052 GB, free: 41.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000504/0.3923, allocations: 219.3 kB / 0.6054 GB, free: 41.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005248/0.3929, allocations: 218.6 kB / 0.6057 GB, free: 41.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3929, allocations: 0 / 0.6057 GB, free: 41.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00117/0.394, allocations: 0.5226 MB / 0.6062 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3941, allocations: 5.906 kB / 0.6062 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3941, allocations: 0 / 0.6062 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3941, allocations: 3.25 kB / 0.6062 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.3947, allocations: 117 kB / 0.6063 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3948, allocations: 2.781 kB / 0.6063 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.3952, allocations: 56.23 kB / 0.6063 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.3953, allocations: 26.97 kB / 0.6064 GB, free: 41.18 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.3954, allocations: 123.2 kB / 0.6065 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.3954, allocations: 6.219 kB / 0.6065 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.3955, allocations: 14.53 kB / 0.6065 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3955, allocations: 0 / 0.6065 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3955, allocations: 1.719 kB / 0.6065 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3955, allocations: 0.5625 kB / 0.6065 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.3971, allocations: 1.103 MB / 0.6076 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3971, allocations: 0 / 0.6076 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/0.3977, allocations: 121.8 kB / 0.6077 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3978, allocations: 0 / 0.6077 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.3978, allocations: 23.64 kB / 0.6077 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3978, allocations: 0.8438 kB / 0.6077 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3978, allocations: 0 / 0.6077 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.3995, allocations: 0.8682 MB / 0.6086 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.3996, allocations: 116.8 kB / 0.6087 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.591e-05/0.3997, allocations: 4 kB / 0.6087 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.4002, allocations: 60.22 kB / 0.6087 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.4003, allocations: 33.2 kB / 0.6088 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.4004, allocations: 22.7 kB / 0.6088 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.11e-05/0.4004, allocations: 81.78 kB / 0.6089 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.61e-07/0.4004, allocations: 3.656 kB / 0.6089 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003217/0.4007, allocations: 58.19 kB / 0.6089 GB, free: 40.19 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/0.4009, allocations: 112 kB / 0.609 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.402, allocations: 476.7 kB / 0.6095 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.402, allocations: 2.688 kB / 0.6095 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005464/0.4025, allocations: 250 kB / 0.6097 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.4028, allocations: 17.08 kB / 0.6097 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.406, allocations: 0.8598 MB / 0.6106 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.945e-05/0.4061, allocations: 0.6971 MB / 0.6113 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005969/0.4067, allocations: 90.02 kB / 0.6114 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.4069, allocations: 56.41 kB / 0.6114 GB, free: 39.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.407, allocations: 0 / 0.6114 GB, free: 39.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.004264/0.4112, allocations: 3.247 MB / 0.6146 GB, free: 38.97 MB / 0.4981 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)