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.001165/0.001165, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001161/0.001162, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.8763/0.8763, allocations: 143 MB / 433.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.89 kB / 0.5138 GB, free: 11.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1329, allocations: 82.04 MB / 0.5939 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002111/0.1351, allocations: 1.328 MB / 0.5952 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3712/0.5063, allocations: 135.7 MB / 0.7277 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.5063, allocations: 0 / 0.7277 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.5064, allocations: 0.75 kB / 0.7277 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.5065, allocations: 6.406 kB / 0.7277 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.5086, allocations: 412.8 kB / 0.7281 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.288e-05/0.5087, allocations: 37.98 kB / 0.7282 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.5088, allocations: 3.562 kB / 0.7282 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.5089, allocations: 25.8 kB / 0.7282 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.111e-05/0.509, allocations: 19.59 kB / 0.7282 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.509, allocations: 2.094 kB / 0.7282 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.5115, allocations: 0.8139 MB / 0.729 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.5115, allocations: 13.48 kB / 0.729 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.5116, allocations: 17.64 kB / 0.729 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.5129, allocations: 449.8 kB / 0.7295 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5129, allocations: 1.031 kB / 0.7295 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5129, allocations: 0 / 0.7295 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.5129, allocations: 0 / 0.7295 GB, free: 13.73 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.001098/0.514, allocations: 371 kB / 0.7298 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.5141, allocations: 13.38 kB / 0.7298 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.5142, allocations: 33.3 kB / 0.7299 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/0.5145, allocations: 13.72 kB / 0.7299 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.5147, allocations: 170.6 kB / 0.7301 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.5147, allocations: 9.625 kB / 0.7301 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.5148, allocations: 8.125 kB / 0.7301 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.515, allocations: 54.72 kB / 0.7301 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5151, allocations: 0 / 0.7301 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.5151, allocations: 1.922 kB / 0.7301 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.5151, allocations: 1.344 kB / 0.7301 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.5152, allocations: 21.92 kB / 0.7301 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.5155, allocations: 168 kB / 0.7303 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.5157, allocations: 52.06 kB / 0.7304 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.5158, allocations: 21.78 kB / 0.7304 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0166/0.5324, allocations: 3.171 MB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.5325, allocations: 35.59 kB / 0.7335 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.445e-06/0.5325, allocations: 1.125 kB / 0.7335 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.04575/0.5782, allocations: 14.86 MB / 0.748 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.5783, allocations: 55.41 kB / 0.7481 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.159e-05/0.5784, allocations: 93.86 kB / 0.7482 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.5784, allocations: 33.69 kB / 0.7482 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.564e-05/0.5784, allocations: 84.14 kB / 0.7483 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.5785, allocations: 35.41 kB / 0.7483 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.5785, allocations: 29.7 kB / 0.7483 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.5786, allocations: 326.8 kB / 0.7487 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.063e-05/0.5786, allocations: 23.94 kB / 0.7487 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-05/0.5787, allocations: 25.23 kB / 0.7487 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.5788, allocations: 70.09 kB / 0.7488 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5788, allocations: 0 / 0.7488 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002033/0.579, allocations: 94.44 kB / 0.7489 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.579, allocations: 4 kB / 0.7489 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5791, allocations: 0 / 0.7489 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.5791, allocations: 4 kB / 0.7489 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.5792, allocations: 35.86 kB / 0.7489 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5792, allocations: 1.328 kB / 0.7489 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.388e-05/0.5792, allocations: 0 / 0.7489 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.5792, allocations: 4 kB / 0.7489 GB, free: 14.48 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 6.784e-05/0.5793, allocations: 121.8 kB / 0.749 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.5794, allocations: 11.89 kB / 0.749 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.5796, allocations: 125.5 kB / 0.7491 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5796, allocations: 0 / 0.7491 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5796, allocations: 4 kB / 0.7492 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5796, allocations: 4 kB / 0.7492 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.5798, allocations: 182.1 kB / 0.7493 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5798, allocations: 0 / 0.7493 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.5799, allocations: 24.61 kB / 0.7494 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5799, allocations: 0 / 0.7494 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.5799, allocations: 4 kB / 0.7494 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5799, allocations: 0 / 0.7494 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5799, allocations: 7.984 kB / 0.7494 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.5802, allocations: 161.3 kB / 0.7495 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.5803, allocations: 85.14 kB / 0.7496 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.5803, allocations: 8 kB / 0.7496 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.5804, allocations: 11.98 kB / 0.7496 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.5805, allocations: 4.938 kB / 0.7496 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.5805, allocations: 11.98 kB / 0.7496 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.5805, allocations: 75.28 kB / 0.7497 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5805, allocations: 4.094 kB / 0.7497 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001685/0.5822, allocations: 0.5663 MB / 0.7503 GB, free: 12.98 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.003132/0.5853, allocations: 0.944 MB / 0.7512 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.5855, allocations: 69.16 kB / 0.7513 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5855, allocations: 8 kB / 0.7513 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.023e-05/0.5856, allocations: 35.92 kB / 0.7513 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.5858, allocations: 11.02 kB / 0.7513 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.5876, allocations: 1.545 MB / 0.7528 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.5878, allocations: 0.6854 MB / 0.7535 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.856e-05/0.5879, allocations: 33.02 kB / 0.7535 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.5879, allocations: 19.44 kB / 0.7535 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.5879, allocations: 0 / 0.7535 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2114/0.7993, allocations: 25.43 MB / 0.7784 GB, free: 292 kB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.7995, allocations: 202.9 kB / 0.7786 GB, free: 28 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/3.517, allocations: 0 / 0.7786 GB, free: 28 kB / 0.5919 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)