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.001064/0.001064, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001049/0.001049, allocations: 192.2 kB / 16.13 MB, free: 6.656 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.8976/0.8976, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 64.14 kB / 0.5136 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1814, allocations: 82.04 MB / 0.5937 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00224/0.1837, allocations: 0.845 MB / 0.5946 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1855, allocations: 1.493 MB / 0.596 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.1855, allocations: 4 kB / 0.596 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.1855, allocations: 0 / 0.596 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.1856, allocations: 3.938 kB / 0.596 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.1861, allocations: 115.7 kB / 0.5961 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.365e-05/0.1861, allocations: 47.91 kB / 0.5962 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.1862, allocations: 4 kB / 0.5962 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.027e-05/0.1863, allocations: 27.91 kB / 0.5962 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.1863, allocations: 31.84 kB / 0.5963 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1864, allocations: 4 kB / 0.5963 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.1868, allocations: 319.3 kB / 0.5966 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.1868, allocations: 7.984 kB / 0.5966 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.1869, allocations: 23.86 kB / 0.5966 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.1873, allocations: 215.8 kB / 0.5968 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1873, allocations: 4 kB / 0.5968 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1873, allocations: 0 / 0.5968 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.1873, allocations: 0 / 0.5968 GB, free: 6.789 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.0006778/0.188, allocations: 395.4 kB / 0.5972 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.188, allocations: 12.03 kB / 0.5972 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.1881, allocations: 38.69 kB / 0.5972 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004573/0.1885, allocations: 76.75 kB / 0.5973 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.1887, allocations: 164.3 kB / 0.5975 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.1887, allocations: 12.38 kB / 0.5975 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1888, allocations: 8.375 kB / 0.5975 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.1891, allocations: 111.3 kB / 0.5976 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1891, allocations: 3.906 kB / 0.5976 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1892, allocations: 0 / 0.5976 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1892, allocations: 4 kB / 0.5976 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.1896, allocations: 107.8 kB / 0.5977 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.1902, allocations: 332.6 kB / 0.598 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.1908, allocations: 158.4 kB / 0.5982 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.191, allocations: 60.91 kB / 0.5982 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.1911, allocations: 3.984 kB / 0.5982 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1911, allocations: 30.56 kB / 0.5982 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.1911, allocations: 4 kB / 0.5983 GB, free: 5.129 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.01917/0.2103, allocations: 2.829 MB / 0.601 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.2103, allocations: 55.34 kB / 0.6011 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/0.2104, allocations: 97.94 kB / 0.6012 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.2105, allocations: 37.64 kB / 0.6012 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.2105, allocations: 87.98 kB / 0.6013 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.591e-05/0.2106, allocations: 43.45 kB / 0.6013 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.2107, allocations: 65.7 kB / 0.6014 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.2108, allocations: 326.8 kB / 0.6017 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/0.2115, allocations: 187.8 kB / 0.6019 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.2121, allocations: 191.8 kB / 0.6021 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.2133, allocations: 403.3 kB / 0.6024 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2134, allocations: 0 / 0.6024 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001428/0.2148, allocations: 473.1 kB / 0.6029 GB, free: 232 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2148, allocations: 12 kB / 0.6029 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2148, allocations: 320 / 0.6029 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2148, allocations: 0 / 0.6029 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008317/0.2157, allocations: 107.7 kB / 0.603 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2157, allocations: 11.98 kB / 0.603 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.2163, allocations: 43.94 kB / 0.6031 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/0.2164, allocations: 27.92 kB / 0.6031 GB, free: 28 kB / 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.2457/0.462, allocations: 111.7 kB / 0.6032 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.4622, allocations: 5.969 kB / 0.6032 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.842e-05/0.4623, allocations: 10.59 kB / 0.6032 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.4623, allocations: 3.938 kB / 0.6032 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.4623, allocations: 4.078 kB / 0.6032 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4623, allocations: 0.8906 kB / 0.6032 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.4644, allocations: 1.045 MB / 0.6042 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4644, allocations: 0.6875 kB / 0.6042 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007956/0.4652, allocations: 107.1 kB / 0.6043 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.4652, allocations: 3.75 kB / 0.6043 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.4653, allocations: 24.31 kB / 0.6044 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4653, allocations: 0 / 0.6044 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4653, allocations: 0 / 0.6044 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.4674, allocations: 0.7913 MB / 0.6051 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4675, allocations: 125.1 kB / 0.6053 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.4676, allocations: 0 / 0.6053 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.4683, allocations: 45.58 kB / 0.6053 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.4684, allocations: 31.89 kB / 0.6053 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.363e-05/0.4684, allocations: 24.53 kB / 0.6054 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.713e-05/0.4685, allocations: 85.16 kB / 0.6054 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4685, allocations: 0 / 0.6054 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003787/0.4689, allocations: 49.94 kB / 0.6055 GB, free: 43.56 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.00228/0.4711, allocations: 1.347 MB / 0.6068 GB, free: 42.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.4724, allocations: 421.1 kB / 0.6072 GB, free: 42.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4724, allocations: 6.781 kB / 0.6072 GB, free: 42.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006256/0.4731, allocations: 226.5 kB / 0.6074 GB, free: 42.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.4735, allocations: 6.469 kB / 0.6074 GB, free: 42.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007599/0.4811, allocations: 2.952 MB / 0.6103 GB, free: 41.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.4812, allocations: 0.6967 MB / 0.611 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006445/0.4819, allocations: 90.53 kB / 0.6111 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.4821, allocations: 65.33 kB / 0.6111 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.4821, allocations: 0 / 0.6111 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09403/0.5762, allocations: 4.309 MB / 0.6154 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.5764, allocations: 240.8 kB / 0.6156 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.477, allocations: 4.094 kB / 0.6156 GB, free: 40.35 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)