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.001479/0.001479, 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.001759/0.001759, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.011/1.011, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 63.91 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1295, allocations: 82.04 MB / 0.5944 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001999/0.1315, allocations: 1.255 MB / 0.5956 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3285/0.4601, allocations: 137.7 MB / 0.7301 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.4601, allocations: 0 / 0.7301 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.4602, allocations: 0.7031 kB / 0.7301 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.4602, allocations: 5.828 kB / 0.7301 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.4613, allocations: 461.5 kB / 0.7306 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.187e-05/0.4614, allocations: 42.28 kB / 0.7306 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.4615, allocations: 3.578 kB / 0.7306 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.87e-05/0.4615, allocations: 22.27 kB / 0.7306 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.4616, allocations: 23.62 kB / 0.7306 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.4616, allocations: 2.219 kB / 0.7306 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.4629, allocations: 0.8069 MB / 0.7314 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.4629, allocations: 8.047 kB / 0.7314 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.463, allocations: 18.25 kB / 0.7315 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.4635, allocations: 452.3 kB / 0.7319 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4636, allocations: 4 kB / 0.7319 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4636, allocations: 1.219 kB / 0.7319 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.4636, allocations: 0 / 0.7319 GB, free: 12.16 MB / 0.5606 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.0004315/0.464, allocations: 368.6 kB / 0.7322 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.4641, allocations: 9.562 kB / 0.7323 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.4641, allocations: 35.75 kB / 0.7323 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.4642, allocations: 12.58 kB / 0.7323 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.833e-05/0.4643, allocations: 164.1 kB / 0.7325 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.4644, allocations: 10.78 kB / 0.7325 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.4644, allocations: 8.688 kB / 0.7325 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.4645, allocations: 56.39 kB / 0.7325 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.4645, allocations: 1 kB / 0.7325 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.4645, allocations: 1.062 kB / 0.7325 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.4645, allocations: 1.188 kB / 0.7325 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.799e-05/0.4646, allocations: 22.3 kB / 0.7326 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.4648, allocations: 172.7 kB / 0.7327 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.728e-05/0.4648, allocations: 52.55 kB / 0.7328 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.4649, allocations: 22.11 kB / 0.7328 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/0.4752, allocations: 3.164 MB / 0.7359 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.4753, allocations: 35.62 kB / 0.7359 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/0.4753, allocations: 4 kB / 0.7359 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.03888/0.5142, allocations: 14.88 MB / 0.7504 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.5142, allocations: 55.41 kB / 0.7505 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.142e-05/0.5143, allocations: 89.86 kB / 0.7506 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.5143, allocations: 25.7 kB / 0.7506 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.5144, allocations: 88.14 kB / 0.7507 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.5144, allocations: 39.52 kB / 0.7507 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.5145, allocations: 33.7 kB / 0.7508 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5146, allocations: 322.8 kB / 0.7511 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.5146, allocations: 19.98 kB / 0.7511 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.908e-05/0.5147, allocations: 23.98 kB / 0.7511 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.5148, allocations: 66.55 kB / 0.7512 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5148, allocations: 0 / 0.7512 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002078/0.515, allocations: 105.6 kB / 0.7513 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.515, allocations: 5.094 kB / 0.7513 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5151, allocations: 4 kB / 0.7513 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.5151, allocations: 4 kB / 0.7513 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.5152, allocations: 27.98 kB / 0.7513 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.5152, allocations: 0 / 0.7513 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.5152, allocations: 0 / 0.7513 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.5153, allocations: 4 kB / 0.7513 GB, free: 12.16 MB / 0.5762 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 7.966e-05/0.5153, allocations: 121.7 kB / 0.7514 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.5154, allocations: 3.906 kB / 0.7514 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.5157, allocations: 123.2 kB / 0.7516 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.5157, allocations: 0 / 0.7516 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.5157, allocations: 7.938 kB / 0.7516 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5157, allocations: 0.5 kB / 0.7516 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.5159, allocations: 181.6 kB / 0.7517 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5159, allocations: 0 / 0.7517 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.516, allocations: 24.55 kB / 0.7518 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.516, allocations: 4 kB / 0.7518 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.516, allocations: 7.938 kB / 0.7518 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.516, allocations: 3.984 kB / 0.7518 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.516, allocations: 4.625 kB / 0.7518 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.5163, allocations: 150.1 kB / 0.7519 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.5164, allocations: 85.14 kB / 0.752 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.5164, allocations: 11.98 kB / 0.752 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.5166, allocations: 12 kB / 0.752 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.5166, allocations: 12.42 kB / 0.752 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.5166, allocations: 8 kB / 0.752 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.5166, allocations: 75.28 kB / 0.7521 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5167, allocations: 0 / 0.7521 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001767/0.5184, allocations: 0.5663 MB / 0.7527 GB, free: 10.68 MB / 0.5762 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.003027/0.5215, allocations: 0.9476 MB / 0.7536 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.5217, allocations: 67.91 kB / 0.7537 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5217, allocations: 4 kB / 0.7537 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.615e-05/0.5217, allocations: 31.94 kB / 0.7537 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.5219, allocations: 12.67 kB / 0.7537 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.5238, allocations: 1.536 MB / 0.7552 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.524, allocations: 0.6854 MB / 0.7559 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.313e-05/0.5241, allocations: 32.47 kB / 0.7559 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.5242, allocations: 23.44 kB / 0.7559 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.5242, allocations: 0 / 0.7559 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.07/1.594, allocations: 25.5 MB / 0.7808 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.711/11.3, allocations: 7.938 kB / 0.7808 GB, free: 13.86 MB / 0.6075 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)