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.001012/0.001012, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001053/0.001053, allocations: 195.7 kB / 16.14 MB, free: 6.688 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.226/1.226, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.9411/0.9411, allocations: 143 MB / 433 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1302, allocations: 82.05 MB / 0.5937 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002128/0.1324, allocations: 1.325 MB / 0.595 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3392/0.4716, allocations: 135.7 MB / 0.7275 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.4717, allocations: 0 / 0.7275 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.4717, allocations: 0.6562 kB / 0.7275 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.34e-05/0.4718, allocations: 10.95 kB / 0.7275 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.4728, allocations: 373.7 kB / 0.7279 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.162e-05/0.4729, allocations: 42.41 kB / 0.7279 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.4729, allocations: 6.125 kB / 0.7279 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.156e-05/0.473, allocations: 19.44 kB / 0.728 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.473, allocations: 20.03 kB / 0.728 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.4731, allocations: 1.344 kB / 0.728 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.4746, allocations: 0.8226 MB / 0.7288 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.4746, allocations: 8.469 kB / 0.7288 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.4746, allocations: 17.06 kB / 0.7288 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006461/0.4753, allocations: 447.4 kB / 0.7292 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4753, allocations: 1.438 kB / 0.7292 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.92e-07/0.4753, allocations: 4 kB / 0.7292 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.4753, allocations: 0 / 0.7292 GB, free: 14.22 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.0004526/0.4758, allocations: 375.9 kB / 0.7296 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.4758, allocations: 9.969 kB / 0.7296 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.4758, allocations: 36.94 kB / 0.7297 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.476, allocations: 13.3 kB / 0.7297 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.474e-05/0.4761, allocations: 161.8 kB / 0.7298 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.4761, allocations: 2.906 kB / 0.7298 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.4761, allocations: 16.98 kB / 0.7298 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.4763, allocations: 57.12 kB / 0.7299 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.4763, allocations: 1.125 kB / 0.7299 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4763, allocations: 0.75 kB / 0.7299 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4763, allocations: 1.719 kB / 0.7299 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.246e-05/0.4764, allocations: 23.92 kB / 0.7299 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.4765, allocations: 166.5 kB / 0.7301 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.4767, allocations: 53.22 kB / 0.7301 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.4767, allocations: 22.84 kB / 0.7301 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/0.4869, allocations: 3.168 MB / 0.7332 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.4869, allocations: 31.97 kB / 0.7333 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.4869, allocations: 0.9375 kB / 0.7333 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.03868/0.5256, allocations: 14.88 MB / 0.7478 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.5257, allocations: 51.41 kB / 0.7479 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.5257, allocations: 97.86 kB / 0.7479 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.5257, allocations: 25.7 kB / 0.748 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.435e-05/0.5258, allocations: 80.14 kB / 0.748 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.5258, allocations: 39.45 kB / 0.7481 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.5259, allocations: 33.83 kB / 0.7481 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.526, allocations: 322.8 kB / 0.7484 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.526, allocations: 23.98 kB / 0.7484 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.778e-05/0.5261, allocations: 27.98 kB / 0.7485 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.5262, allocations: 54.73 kB / 0.7485 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.5262, allocations: 0 / 0.7485 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002141/0.5264, allocations: 109.6 kB / 0.7486 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5265, allocations: 4.781 kB / 0.7486 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5265, allocations: 0.9375 kB / 0.7486 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5265, allocations: 0 / 0.7486 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.5266, allocations: 27.98 kB / 0.7487 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5266, allocations: 0 / 0.7487 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.5267, allocations: 11.94 kB / 0.7487 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5267, allocations: 0 / 0.7487 GB, free: 14.8 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 8.394e-05/0.5268, allocations: 125.7 kB / 0.7488 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.5268, allocations: 11.84 kB / 0.7488 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.5271, allocations: 125.6 kB / 0.7489 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5271, allocations: 0 / 0.7489 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5271, allocations: 0.5625 kB / 0.7489 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5271, allocations: 0 / 0.7489 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.5273, allocations: 181.6 kB / 0.7491 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5273, allocations: 0 / 0.7491 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.5274, allocations: 28.92 kB / 0.7491 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.5274, allocations: 0 / 0.7491 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5274, allocations: 12 kB / 0.7491 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5274, allocations: 0 / 0.7491 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5274, allocations: 3.984 kB / 0.7491 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.5277, allocations: 148.9 kB / 0.7493 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.5278, allocations: 89.14 kB / 0.7494 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.5278, allocations: 4.922 kB / 0.7494 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.528, allocations: 16.09 kB / 0.7494 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.528, allocations: 11.97 kB / 0.7494 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.528, allocations: 8 kB / 0.7494 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.585e-05/0.5281, allocations: 79.28 kB / 0.7495 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5281, allocations: 0 / 0.7495 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001881/0.5299, allocations: 0.5663 MB / 0.75 GB, free: 13.3 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.003312/0.5333, allocations: 0.9476 MB / 0.751 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.5334, allocations: 73.42 kB / 0.751 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5334, allocations: 0 / 0.751 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.079e-05/0.5335, allocations: 31.98 kB / 0.7511 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.5337, allocations: 8.844 kB / 0.7511 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.5356, allocations: 1.554 MB / 0.7526 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.5358, allocations: 0.6887 MB / 0.7533 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.45e-05/0.5359, allocations: 24.55 kB / 0.7533 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.5359, allocations: 27.42 kB / 0.7533 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of SimCode: time 1.313e-06/0.536, allocations: 0 / 0.7533 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.151/0.6869, allocations: 25.36 MB / 0.7781 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.6871, allocations: 204.4 kB / 0.7783 GB, free: 400 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/2.925, allocations: 3.938 kB / 0.7783 GB, free: 396 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)