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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001316/0.001316, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.039/1.039, allocations: 143 MB / 433.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 67.89 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1493, allocations: 82.03 MB / 0.5939 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002087/0.1514, allocations: 0.8465 MB / 0.5947 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.1535, allocations: 1.474 MB / 0.5962 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.1535, allocations: 0 / 0.5962 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.1535, allocations: 0 / 0.5962 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.509e-05/0.1536, allocations: 0 / 0.5962 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.1541, allocations: 119.7 kB / 0.5963 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.608e-05/0.1542, allocations: 51.89 kB / 0.5963 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.1543, allocations: 4 kB / 0.5963 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.1544, allocations: 31.91 kB / 0.5964 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.1544, allocations: 35.83 kB / 0.5964 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1545, allocations: 11.94 kB / 0.5964 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.1549, allocations: 311.4 kB / 0.5967 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.1549, allocations: 15.98 kB / 0.5967 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.155, allocations: 23.86 kB / 0.5968 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.1553, allocations: 215.8 kB / 0.597 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1553, allocations: 4 kB / 0.597 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1553, allocations: 0 / 0.597 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.1553, allocations: 0 / 0.597 GB, free: 6.648 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.0006587/0.156, allocations: 395.4 kB / 0.5973 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.156, allocations: 8.031 kB / 0.5974 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.12e-05/0.1561, allocations: 38.73 kB / 0.5974 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.1565, allocations: 72.77 kB / 0.5975 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.1567, allocations: 172.2 kB / 0.5976 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.1567, allocations: 8.375 kB / 0.5976 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.1568, allocations: 12.38 kB / 0.5976 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.1571, allocations: 108 kB / 0.5977 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1572, allocations: 3.906 kB / 0.5977 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1572, allocations: 4 kB / 0.5978 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1572, allocations: 0 / 0.5978 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.1577, allocations: 103.9 kB / 0.5979 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.1583, allocations: 344.5 kB / 0.5982 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.1589, allocations: 150.5 kB / 0.5983 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.1591, allocations: 64.69 kB / 0.5984 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1591, allocations: 3.984 kB / 0.5984 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1592, allocations: 30.56 kB / 0.5984 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1592, allocations: 4 kB / 0.5984 GB, free: 4.988 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.01848/0.1777, allocations: 2.824 MB / 0.6012 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1777, allocations: 55.34 kB / 0.6012 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.73e-05/0.1778, allocations: 97.84 kB / 0.6013 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.1778, allocations: 33.7 kB / 0.6014 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.1779, allocations: 91.97 kB / 0.6014 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.178, allocations: 47.44 kB / 0.6015 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.1781, allocations: 65.58 kB / 0.6016 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.1782, allocations: 318.8 kB / 0.6019 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005985/0.1788, allocations: 191.8 kB / 0.602 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.1794, allocations: 187.8 kB / 0.6022 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.1807, allocations: 407.5 kB / 0.6026 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.1807, allocations: 96 / 0.6026 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001424/0.1821, allocations: 477 kB / 0.6031 GB, free: 88 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1821, allocations: 12 kB / 0.6031 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1821, allocations: 0 / 0.6031 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.1822, allocations: 0 / 0.6031 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2983/0.4805, allocations: 103.6 kB / 0.6032 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.4805, allocations: 6.25 kB / 0.6032 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.4812, allocations: 47.05 kB / 0.6032 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/0.4813, allocations: 28 kB / 0.6033 GB, free: 44.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.4815, allocations: 114.6 kB / 0.6034 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.9e-05/0.4816, allocations: 5.656 kB / 0.6034 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.4817, allocations: 14.03 kB / 0.6034 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.4817, allocations: 0.9375 kB / 0.6034 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4817, allocations: 0.5625 kB / 0.6034 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4817, allocations: 1.281 kB / 0.6034 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.4837, allocations: 1.044 MB / 0.6044 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4837, allocations: 1.094 kB / 0.6044 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008059/0.4845, allocations: 106.9 kB / 0.6045 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4845, allocations: 0 / 0.6045 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.4846, allocations: 24.83 kB / 0.6045 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.4846, allocations: 4.906 kB / 0.6045 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4846, allocations: 2.906 kB / 0.6045 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.4866, allocations: 0.7902 MB / 0.6053 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.4868, allocations: 122.7 kB / 0.6054 GB, free: 43.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.816e-05/0.4868, allocations: 0.6875 kB / 0.6054 GB, free: 43.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/0.4875, allocations: 51.61 kB / 0.6055 GB, free: 43.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4876, allocations: 27.14 kB / 0.6055 GB, free: 43.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/0.4877, allocations: 22.5 kB / 0.6055 GB, free: 43.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.716e-05/0.4877, allocations: 83.75 kB / 0.6056 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4877, allocations: 0 / 0.6056 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000458/0.4882, allocations: 52.88 kB / 0.6057 GB, free: 43.55 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 (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.00236/0.4905, allocations: 1.345 MB / 0.607 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.4919, allocations: 431.3 kB / 0.6074 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.492, allocations: 0 / 0.6074 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.4926, allocations: 224.5 kB / 0.6076 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.493, allocations: 11.53 kB / 0.6076 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007982/0.501, allocations: 2.957 MB / 0.6105 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.5012, allocations: 0.6914 MB / 0.6112 GB, free: 40.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00066/0.5018, allocations: 95.59 kB / 0.6113 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.5021, allocations: 64.28 kB / 0.6113 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of SimCode: time 1.323e-06/0.5021, allocations: 4 kB / 0.6113 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.5176, allocations: 4.477 MB / 0.6157 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.5179, allocations: 238.6 kB / 0.6159 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.429, allocations: 0 / 0.6159 GB, free: 40.34 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)