Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.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.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",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.00485/0.00485, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001185/0.001185, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.9829/0.9829, allocations: 143 MB / 433.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 59.91 kB / 0.595 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3795, allocations: 82.02 MB / 0.6751 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001967/0.3815, allocations: 1.268 MB / 0.6764 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1326/0.5141, allocations: 137.7 MB / 0.8109 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.5142, allocations: 0 / 0.8109 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.5143, allocations: 3.938 kB / 0.8109 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.5144, allocations: 15.91 kB / 0.8109 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.5159, allocations: 462.4 kB / 0.8113 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.516, allocations: 43.78 kB / 0.8114 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.5161, allocations: 4 kB / 0.8114 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.849e-05/0.5161, allocations: 19.97 kB / 0.8114 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.093e-05/0.5162, allocations: 19.92 kB / 0.8114 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.5162, allocations: 4 kB / 0.8114 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.5179, allocations: 0.8309 MB / 0.8122 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.5179, allocations: 7.984 kB / 0.8122 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.518, allocations: 19.92 kB / 0.8122 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009118/0.5189, allocations: 445.4 kB / 0.8127 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.996e-06/0.5189, allocations: 4 kB / 0.8127 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5189, allocations: 0 / 0.8127 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.5189, allocations: 4 kB / 0.8127 GB, free: 9.02 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005673/0.5195, allocations: 368.7 kB / 0.813 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.5196, allocations: 12.03 kB / 0.813 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.5196, allocations: 30.75 kB / 0.8131 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.5198, allocations: 24.81 kB / 0.8131 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.94e-05/0.5199, allocations: 164.3 kB / 0.8133 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.52, allocations: 4.375 kB / 0.8133 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.52, allocations: 11.94 kB / 0.8133 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.5201, allocations: 53.67 kB / 0.8133 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.5202, allocations: 0 / 0.8133 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.5202, allocations: 0 / 0.8133 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5202, allocations: 0 / 0.8133 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.64e-05/0.5203, allocations: 19.98 kB / 0.8133 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.5204, allocations: 165.7 kB / 0.8135 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.5205, allocations: 58.38 kB / 0.8136 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.5206, allocations: 20.84 kB / 0.8136 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/0.5307, allocations: 3.206 MB / 0.8167 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.5308, allocations: 38.55 kB / 0.8167 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 2.455e-06/0.5308, allocations: 0 / 0.8167 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.03812/0.5689, allocations: 15 MB / 0.8314 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.569, allocations: 55.34 kB / 0.8314 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.842e-05/0.5691, allocations: 93.86 kB / 0.8315 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.5691, allocations: 29.7 kB / 0.8316 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.5692, allocations: 80.14 kB / 0.8316 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.5692, allocations: 47.3 kB / 0.8317 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.5693, allocations: 33.83 kB / 0.8317 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.5694, allocations: 318.8 kB / 0.832 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.583e-05/0.5694, allocations: 23.98 kB / 0.832 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.5695, allocations: 31.73 kB / 0.8321 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.5696, allocations: 56.86 kB / 0.8321 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5696, allocations: 0 / 0.8321 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002223/0.5699, allocations: 105.7 kB / 0.8322 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5699, allocations: 14.28 kB / 0.8322 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5699, allocations: 3.938 kB / 0.8322 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.5699, allocations: 7.984 kB / 0.8323 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.5701, allocations: 23.98 kB / 0.8323 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5701, allocations: 0 / 0.8323 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.5701, allocations: 4 kB / 0.8323 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.5701, allocations: 4 kB / 0.8323 GB, free: 4.48 MB / 0.6544 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 (14): * Single equations (assignments): 14 * 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 8.711e-05/0.5702, allocations: 117.8 kB / 0.8324 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.5703, allocations: 7.906 kB / 0.8324 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.5706, allocations: 129.5 kB / 0.8325 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5706, allocations: 4 kB / 0.8325 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5706, allocations: 0 / 0.8325 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5706, allocations: 0 / 0.8325 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.5707, allocations: 177.6 kB / 0.8327 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5708, allocations: 0 / 0.8327 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.5709, allocations: 27.98 kB / 0.8327 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5709, allocations: 0 / 0.8327 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.5709, allocations: 4 kB / 0.8327 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.5709, allocations: 7.984 kB / 0.8327 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5709, allocations: 0 / 0.8327 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.5712, allocations: 156.8 kB / 0.8329 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.5713, allocations: 89.14 kB / 0.833 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.5714, allocations: 3.984 kB / 0.833 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.5715, allocations: 12 kB / 0.833 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.5716, allocations: 11.98 kB / 0.833 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.5716, allocations: 4 kB / 0.833 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.392e-05/0.5716, allocations: 75.28 kB / 0.8331 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5716, allocations: 0 / 0.8331 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001753/0.5734, allocations: 0.5663 MB / 0.8336 GB, free: 3 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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.003583/0.577, allocations: 0.9521 MB / 0.8346 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.5772, allocations: 67.92 kB / 0.8346 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5772, allocations: 0 / 0.8346 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.233e-05/0.5772, allocations: 31.98 kB / 0.8347 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.5774, allocations: 11.98 kB / 0.8347 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.5795, allocations: 1.543 MB / 0.8362 GB, free: 296 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.5798, allocations: 0.6853 MB / 0.8368 GB, free: 15.58 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 8.976e-05/0.5799, allocations: 33.02 kB / 0.8369 GB, free: 15.55 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.58, allocations: 19.44 kB / 0.8369 GB, free: 15.53 MB / 0.67 GB Notification: Performance of SimCode: time 4.11e-07/0.58, allocations: 4 kB / 0.8369 GB, free: 15.52 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05126/0.6312, allocations: 25.54 MB / 0.8618 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.616, allocations: 3.75 kB / 0.8618 GB, free: 6.129 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)