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.0006729/0.0006729, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0007692/0.0007692, allocations: 177.2 kB / 16.27 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.241/1.241, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.9463/0.9463, allocations: 143.2 MB / 434.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002944, allocations: 8 kB / 0.5165 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 83.41 MB / 0.5979 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.00109/0.1387, allocations: 0.9861 MB / 0.5989 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3619/0.5005, allocations: 134.3 MB / 0.73 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.5006, allocations: 0 / 0.73 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.5006, allocations: 1.359 kB / 0.73 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.124e-05/0.5007, allocations: 6.062 kB / 0.73 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.5017, allocations: 370.9 kB / 0.7304 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.636e-05/0.5018, allocations: 45.58 kB / 0.7304 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.215e-05/0.5018, allocations: 2.578 kB / 0.7304 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.287e-05/0.5019, allocations: 23 kB / 0.7305 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.5019, allocations: 19.02 kB / 0.7305 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.502, allocations: 2.625 kB / 0.7305 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.5034, allocations: 0.8172 MB / 0.7313 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.5034, allocations: 12.66 kB / 0.7313 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.5035, allocations: 47.84 kB / 0.7313 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.504, allocations: 442.5 kB / 0.7317 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5041, allocations: 7.938 kB / 0.7318 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5041, allocations: 0.75 kB / 0.7318 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.5041, allocations: 1.031 kB / 0.7318 GB, free: 13.32 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.0004024/0.5045, allocations: 354.5 kB / 0.7321 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.5045, allocations: 9.844 kB / 0.7321 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.5046, allocations: 36.86 kB / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.5047, allocations: 12.58 kB / 0.7322 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.593e-05/0.5048, allocations: 162.7 kB / 0.7323 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.5048, allocations: 6.594 kB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.5049, allocations: 12.23 kB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.505, allocations: 55.02 kB / 0.7324 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.505, allocations: 0 / 0.7324 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.505, allocations: 1.25 kB / 0.7324 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.505, allocations: 0.5625 kB / 0.7324 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.5051, allocations: 24.14 kB / 0.7324 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.5053, allocations: 171.8 kB / 0.7326 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.5054, allocations: 53.42 kB / 0.7326 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.5054, allocations: 17.72 kB / 0.7326 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/0.5162, allocations: 3.202 MB / 0.7358 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.5162, allocations: 32.69 kB / 0.7358 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.5162, allocations: 4 kB / 0.7358 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.03715/0.5534, allocations: 14.26 MB / 0.7497 GB, free: 80 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.5535, allocations: 59.41 kB / 0.7498 GB, free: 8 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.76e-05/0.5535, allocations: 93.86 kB / 0.7499 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.5536, allocations: 25.7 kB / 0.7499 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.5536, allocations: 84.14 kB / 0.75 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.5536, allocations: 47.3 kB / 0.75 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.5537, allocations: 17.72 kB / 0.75 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/0.5538, allocations: 318.8 kB / 0.7503 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.5538, allocations: 24 kB / 0.7504 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.183e-05/0.5539, allocations: 26.73 kB / 0.7504 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.554, allocations: 60.97 kB / 0.7504 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.554, allocations: 4 kB / 0.7504 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001977/0.5542, allocations: 101.6 kB / 0.7505 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.5542, allocations: 8 kB / 0.7506 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5542, allocations: 0 / 0.7506 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.5542, allocations: 7.922 kB / 0.7506 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.5544, allocations: 24.48 kB / 0.7506 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.5544, allocations: 0.5469 kB / 0.7506 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.5544, allocations: 4 kB / 0.7506 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.5544, allocations: 4 kB / 0.7506 GB, free: 15.13 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.287e-05/0.5545, allocations: 129.7 kB / 0.7507 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.5545, allocations: 7.906 kB / 0.7507 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.5548, allocations: 114.2 kB / 0.7508 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.5548, allocations: 4 kB / 0.7508 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.5548, allocations: 0 / 0.7508 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5548, allocations: 4 kB / 0.7508 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.5549, allocations: 182.1 kB / 0.751 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.555, allocations: 0 / 0.751 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.5551, allocations: 27.92 kB / 0.751 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5551, allocations: 0 / 0.751 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.5551, allocations: 12.44 kB / 0.7511 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5551, allocations: 0 / 0.7511 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5551, allocations: 3.938 kB / 0.7511 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.5554, allocations: 157.5 kB / 0.7512 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.5555, allocations: 89.14 kB / 0.7513 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.5555, allocations: 0 / 0.7513 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.5556, allocations: 15.98 kB / 0.7513 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.5556, allocations: 8.484 kB / 0.7513 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.5557, allocations: 4 kB / 0.7513 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.85e-05/0.5557, allocations: 87.28 kB / 0.7514 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5557, allocations: 0 / 0.7514 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001663/0.5574, allocations: 0.5663 MB / 0.752 GB, free: 13.64 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.002969/0.5603, allocations: 0.9374 MB / 0.7529 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.5605, allocations: 72.47 kB / 0.7529 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5605, allocations: 4 kB / 0.7529 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.5606, allocations: 35.92 kB / 0.753 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.5607, allocations: 8 kB / 0.753 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.5625, allocations: 1.597 MB / 0.7545 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.5627, allocations: 0.6887 MB / 0.7552 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.858e-05/0.5628, allocations: 28.86 kB / 0.7552 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.5628, allocations: 27.42 kB / 0.7553 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.5628, allocations: 0 / 0.7553 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6755/1.238, allocations: 25.3 MB / 0.78 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/1.239, allocations: 200.2 kB / 0.7802 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.794, allocations: 0 / 0.7802 GB, free: 0.7617 MB / 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)