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.006441/0.006441, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.00156/0.00156, allocations: 189 kB / 16.67 MB, free: 5.969 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.9291/0.9291, allocations: 143 MB / 433.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 67.88 kB / 0.595 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3673, allocations: 82.02 MB / 0.6751 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001764/0.3691, allocations: 1.271 MB / 0.6764 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.14/0.5091, allocations: 137.7 MB / 0.8109 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.5091, allocations: 0 / 0.8109 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.5092, allocations: 7.938 kB / 0.8109 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.744e-05/0.5092, allocations: 0 / 0.8109 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.5104, allocations: 470.3 kB / 0.8113 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.28e-05/0.5105, allocations: 43.78 kB / 0.8114 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.5105, allocations: 8 kB / 0.8114 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.822e-05/0.5106, allocations: 23.97 kB / 0.8114 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.5106, allocations: 15.92 kB / 0.8114 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.5106, allocations: 4 kB / 0.8114 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.512, allocations: 0.8347 MB / 0.8122 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.512, allocations: 11.98 kB / 0.8122 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.512, allocations: 15.92 kB / 0.8123 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005616/0.5126, allocations: 451.9 kB / 0.8127 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5126, allocations: 0 / 0.8127 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5126, allocations: 0 / 0.8127 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.5126, allocations: 0 / 0.8127 GB, free: 9.035 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.0004806/0.5131, allocations: 371.2 kB / 0.813 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.5132, allocations: 16.03 kB / 0.8131 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.5132, allocations: 30.75 kB / 0.8131 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.5134, allocations: 16.92 kB / 0.8131 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.5135, allocations: 160.4 kB / 0.8133 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.5135, allocations: 4.375 kB / 0.8133 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.5136, allocations: 15.88 kB / 0.8133 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.5137, allocations: 49.67 kB / 0.8133 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5137, allocations: 0 / 0.8133 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.5137, allocations: 4 kB / 0.8133 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.5138, allocations: 7.938 kB / 0.8133 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.922e-05/0.5138, allocations: 15.98 kB / 0.8134 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.514, allocations: 173.5 kB / 0.8135 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.5141, allocations: 54.44 kB / 0.8136 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.5141, allocations: 16.86 kB / 0.8136 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.5254, allocations: 3.209 MB / 0.8167 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.5255, allocations: 34.56 kB / 0.8168 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 2.285e-06/0.5255, allocations: 0 / 0.8168 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0415/0.567, allocations: 15 MB / 0.8314 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.5671, allocations: 55.41 kB / 0.8315 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.062e-05/0.5672, allocations: 101.8 kB / 0.8315 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.5672, allocations: 25.7 kB / 0.8316 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.5672, allocations: 80.14 kB / 0.8316 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.5673, allocations: 47.58 kB / 0.8317 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.5673, allocations: 29.72 kB / 0.8317 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.5674, allocations: 318.8 kB / 0.832 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.321e-05/0.5675, allocations: 24.11 kB / 0.832 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/0.5675, allocations: 35.06 kB / 0.8321 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.5677, allocations: 56.84 kB / 0.8321 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.5677, allocations: 0 / 0.8321 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002082/0.5679, allocations: 109.7 kB / 0.8322 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5679, allocations: 4 kB / 0.8322 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5679, allocations: 0 / 0.8322 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5679, allocations: 3.984 kB / 0.8322 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.568, allocations: 23.94 kB / 0.8323 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.5681, allocations: 0 / 0.8323 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.5681, allocations: 4 kB / 0.8323 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.5681, allocations: 11.98 kB / 0.8323 GB, free: 4.496 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.18e-05/0.5682, allocations: 117.8 kB / 0.8324 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.5683, allocations: 7.953 kB / 0.8324 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.5685, allocations: 129.5 kB / 0.8325 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5685, allocations: 4 kB / 0.8325 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5685, allocations: 0 / 0.8325 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5685, allocations: 3.938 kB / 0.8325 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.5687, allocations: 181.6 kB / 0.8327 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5687, allocations: 0 / 0.8327 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.5688, allocations: 23.98 kB / 0.8327 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5688, allocations: 0 / 0.8327 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.5688, allocations: 8 kB / 0.8327 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5688, allocations: 0 / 0.8327 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5689, allocations: 0 / 0.8327 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.5692, allocations: 160.9 kB / 0.8329 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.5692, allocations: 89.14 kB / 0.833 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.5693, allocations: 0 / 0.833 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.5694, allocations: 15.98 kB / 0.833 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.5694, allocations: 8.078 kB / 0.833 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.5694, allocations: 4 kB / 0.833 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.167e-05/0.5695, allocations: 83.28 kB / 0.8331 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5695, allocations: 4 kB / 0.8331 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00152/0.571, allocations: 0.5621 MB / 0.8336 GB, free: 3.008 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.003371/0.5744, allocations: 0.9478 MB / 0.8346 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.5746, allocations: 67.47 kB / 0.8346 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5746, allocations: 4 kB / 0.8346 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.5747, allocations: 35.92 kB / 0.8347 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.5748, allocations: 8.234 kB / 0.8347 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.5768, allocations: 1.559 MB / 0.8362 GB, free: 288 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.5771, allocations: 0.6853 MB / 0.8369 GB, free: 15.57 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 9.163e-05/0.5772, allocations: 37 kB / 0.8369 GB, free: 15.54 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.5772, allocations: 19.44 kB / 0.8369 GB, free: 15.52 MB / 0.67 GB Notification: Performance of SimCode: time 2.31e-07/0.5772, allocations: 0 / 0.8369 GB, free: 15.52 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07685/0.6541, allocations: 25.54 MB / 0.8619 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/8.564, allocations: 0 / 0.8619 GB, free: 6.121 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)