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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001468/0.001468, allocations: 112.5 kB / 15.73 MB, free: 76 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.001684/0.001684, allocations: 193.4 kB / 16.67 MB, free: 6.582 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.06/1.06, allocations: 143.3 MB / 433.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.89 kB / 0.5953 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3889, allocations: 82.02 MB / 0.6754 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001865/0.3909, allocations: 1.273 MB / 0.6766 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.158/0.5488, allocations: 137.7 MB / 0.8111 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.5489, allocations: 0 / 0.8111 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.549, allocations: 7.922 kB / 0.8111 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.254e-05/0.549, allocations: 3.984 kB / 0.8111 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.5504, allocations: 458.3 kB / 0.8116 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.287e-05/0.5505, allocations: 47.78 kB / 0.8116 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.5506, allocations: 11.98 kB / 0.8116 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.273e-05/0.5506, allocations: 16 kB / 0.8116 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.5507, allocations: 19.91 kB / 0.8116 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.5507, allocations: 0 / 0.8116 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.5523, allocations: 0.8348 MB / 0.8125 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.5523, allocations: 15.97 kB / 0.8125 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.5524, allocations: 11.94 kB / 0.8125 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.553, allocations: 443.9 kB / 0.8129 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5531, allocations: 0 / 0.8129 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.582e-06/0.5531, allocations: 0 / 0.8129 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5531, allocations: 0 / 0.8129 GB, free: 8.891 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.0005618/0.5536, allocations: 375.2 kB / 0.8133 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5537, allocations: 16.02 kB / 0.8133 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.5537, allocations: 34.75 kB / 0.8133 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.5539, allocations: 8.938 kB / 0.8133 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.5541, allocations: 176.2 kB / 0.8135 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.5541, allocations: 4.375 kB / 0.8135 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.5541, allocations: 7.938 kB / 0.8135 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.5543, allocations: 57.66 kB / 0.8136 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.5543, allocations: 0 / 0.8136 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.5543, allocations: 0 / 0.8136 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5543, allocations: 4 kB / 0.8136 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/0.5544, allocations: 19.98 kB / 0.8136 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.5546, allocations: 169.6 kB / 0.8137 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.5547, allocations: 58.44 kB / 0.8138 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.5547, allocations: 16.78 kB / 0.8138 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/0.5663, allocations: 3.201 MB / 0.8169 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.5664, allocations: 38.55 kB / 0.817 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.5664, allocations: 0 / 0.817 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.04341/0.6099, allocations: 14.99 MB / 0.8316 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.6099, allocations: 59.34 kB / 0.8317 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.61, allocations: 97.8 kB / 0.8318 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.61, allocations: 29.7 kB / 0.8318 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.6101, allocations: 80.14 kB / 0.8319 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.6101, allocations: 47.56 kB / 0.8319 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.6102, allocations: 33.7 kB / 0.832 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6103, allocations: 318.8 kB / 0.8323 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.6104, allocations: 27.92 kB / 0.8323 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.6105, allocations: 28.11 kB / 0.8323 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.6106, allocations: 60.23 kB / 0.8324 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6106, allocations: 3.984 kB / 0.8324 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002177/0.6108, allocations: 101.7 kB / 0.8325 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6108, allocations: 4 kB / 0.8325 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.6109, allocations: 0 / 0.8325 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.6109, allocations: 0 / 0.8325 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.611, allocations: 31.92 kB / 0.8325 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.611, allocations: 4 kB / 0.8325 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/0.611, allocations: 0 / 0.8325 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.6111, allocations: 8 kB / 0.8325 GB, free: 4.344 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.632e-05/0.6111, allocations: 113.8 kB / 0.8326 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.6112, allocations: 11.95 kB / 0.8326 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.6115, allocations: 125.4 kB / 0.8328 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.6115, allocations: 3.984 kB / 0.8328 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6115, allocations: 4 kB / 0.8328 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.6115, allocations: 0 / 0.8328 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.6117, allocations: 181.6 kB / 0.8329 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6117, allocations: 0 / 0.8329 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.6118, allocations: 23.98 kB / 0.833 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.6118, allocations: 4 kB / 0.833 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.6118, allocations: 4 kB / 0.833 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6118, allocations: 0 / 0.833 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6118, allocations: 0 / 0.833 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.6121, allocations: 164.9 kB / 0.8331 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.6122, allocations: 85.14 kB / 0.8332 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.6123, allocations: 4 kB / 0.8332 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.6124, allocations: 19.92 kB / 0.8332 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.6124, allocations: 4 kB / 0.8332 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.6125, allocations: 7.984 kB / 0.8332 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.738e-05/0.6125, allocations: 83.28 kB / 0.8333 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6125, allocations: 0 / 0.8333 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001507/0.614, allocations: 0.5699 MB / 0.8339 GB, free: 2.848 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.003373/0.6174, allocations: 0.9442 MB / 0.8348 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001717/0.6176, allocations: 63.97 kB / 0.8349 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6176, allocations: 4 kB / 0.8349 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.088e-05/0.6177, allocations: 39.92 kB / 0.8349 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.6179, allocations: 4 kB / 0.8349 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.62, allocations: 1.561 MB / 0.8364 GB, free: 128 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.6203, allocations: 0.6853 MB / 0.8371 GB, free: 15.41 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 9.315e-05/0.6204, allocations: 24.55 kB / 0.8371 GB, free: 15.39 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.6205, allocations: 27.42 kB / 0.8371 GB, free: 15.36 MB / 0.67 GB Notification: Performance of SimCode: time 3.71e-07/0.6205, allocations: 0 / 0.8371 GB, free: 15.36 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05781/0.6783, allocations: 25.53 MB / 0.8621 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.834/9.513, allocations: 4.062 kB / 0.8621 GB, free: 5.969 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)