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.001022/0.001022, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 193.3 kB / 16.53 MB, free: 6.699 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 / 240.2 MB, free: 4.387 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.92/0.92, allocations: 143 MB / 433.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.91 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 82.05 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001862/0.129, allocations: 0.779 MB / 0.5952 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1309, allocations: 1.474 MB / 0.5966 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.131, allocations: 4 kB / 0.5966 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.131, allocations: 7.922 kB / 0.5966 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.1311, allocations: 3.938 kB / 0.5966 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006848/0.1318, allocations: 135.5 kB / 0.5967 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.1319, allocations: 51.89 kB / 0.5968 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.1319, allocations: 7.984 kB / 0.5968 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.132, allocations: 23.92 kB / 0.5968 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.1321, allocations: 35.83 kB / 0.5969 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1321, allocations: 4 kB / 0.5969 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.1327, allocations: 323.3 kB / 0.5972 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.1327, allocations: 15.97 kB / 0.5972 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.1328, allocations: 23.86 kB / 0.5972 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.1332, allocations: 207.8 kB / 0.5974 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1332, allocations: 8 kB / 0.5974 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1332, allocations: 0 / 0.5974 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.1332, allocations: 0 / 0.5974 GB, free: 6.383 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.0006074/0.1338, allocations: 395.4 kB / 0.5978 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1338, allocations: 16.03 kB / 0.5978 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.1339, allocations: 34.75 kB / 0.5978 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/0.1343, allocations: 72.75 kB / 0.5979 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1344, allocations: 176.2 kB / 0.5981 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.1345, allocations: 8.375 kB / 0.5981 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1345, allocations: 4.375 kB / 0.5981 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.1348, allocations: 117.7 kB / 0.5982 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1349, allocations: 3.906 kB / 0.5982 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1349, allocations: 0 / 0.5982 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1349, allocations: 4 kB / 0.5982 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.1353, allocations: 103.9 kB / 0.5983 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.1359, allocations: 336.6 kB / 0.5986 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006141/0.1365, allocations: 154.4 kB / 0.5988 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.1367, allocations: 52.81 kB / 0.5988 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.1367, allocations: 7.938 kB / 0.5988 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1368, allocations: 38.5 kB / 0.5989 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1368, allocations: 0 / 0.5989 GB, free: 4.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.0168/0.1536, allocations: 2.827 MB / 0.6016 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.1536, allocations: 55.34 kB / 0.6017 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.426e-05/0.1537, allocations: 109.8 kB / 0.6018 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.1538, allocations: 29.7 kB / 0.6018 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.1538, allocations: 91.98 kB / 0.6019 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.1539, allocations: 35.45 kB / 0.6019 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.154, allocations: 69.58 kB / 0.602 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.1541, allocations: 318.8 kB / 0.6023 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006312/0.1548, allocations: 187.8 kB / 0.6025 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.1554, allocations: 195.8 kB / 0.6027 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.1567, allocations: 398.5 kB / 0.6031 GB, free: 296 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1567, allocations: 4 kB / 0.6031 GB, free: 292 kB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.2367/0.3933, allocations: 472.4 kB / 0.6035 GB, free: 44.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3934, allocations: 7.25 kB / 0.6035 GB, free: 44.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3934, allocations: 0 / 0.6035 GB, free: 44.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3934, allocations: 2.906 kB / 0.6035 GB, free: 44.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/0.3942, allocations: 112 kB / 0.6036 GB, free: 44.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.3942, allocations: 0.6875 kB / 0.6036 GB, free: 44.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.3948, allocations: 42.41 kB / 0.6037 GB, free: 44.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.3949, allocations: 27.64 kB / 0.6037 GB, free: 44.31 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.0001283/0.395, allocations: 126.3 kB / 0.6038 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.3951, allocations: 2.875 kB / 0.6038 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.3951, allocations: 12.78 kB / 0.6038 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3951, allocations: 3.75 kB / 0.6038 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3951, allocations: 3.281 kB / 0.6038 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3952, allocations: 0.5 kB / 0.6038 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.397, allocations: 1.037 MB / 0.6049 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.397, allocations: 6.656 kB / 0.6049 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007274/0.3977, allocations: 104 kB / 0.605 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3977, allocations: 0 / 0.605 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.3978, allocations: 25.22 kB / 0.605 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3978, allocations: 3.625 kB / 0.605 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3978, allocations: 3.281 kB / 0.605 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.3997, allocations: 0.795 MB / 0.6058 GB, free: 43.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3998, allocations: 118.2 kB / 0.6059 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.3999, allocations: 1.5 kB / 0.6059 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.4005, allocations: 50.14 kB / 0.6059 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/0.4006, allocations: 30.31 kB / 0.606 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.4007, allocations: 25.23 kB / 0.606 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.642e-05/0.4007, allocations: 82.14 kB / 0.6061 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4007, allocations: 0 / 0.6061 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003475/0.4011, allocations: 57.31 kB / 0.6061 GB, free: 43.36 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.00224/0.4033, allocations: 1.337 MB / 0.6074 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.4047, allocations: 429.8 kB / 0.6078 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4048, allocations: 1.875 kB / 0.6078 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006508/0.4054, allocations: 224.8 kB / 0.608 GB, free: 42.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.4058, allocations: 10.94 kB / 0.6081 GB, free: 42.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007801/0.4136, allocations: 2.941 MB / 0.6109 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.4138, allocations: 0.6935 MB / 0.6116 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00062/0.4144, allocations: 93.14 kB / 0.6117 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.4147, allocations: 64.72 kB / 0.6118 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/0.4147, allocations: 4 kB / 0.6118 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.435, allocations: 4.555 MB / 0.6162 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.192, allocations: 11.83 kB / 0.6162 GB, free: 40.27 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)