Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.001267/0.001267, allocations: 108 kB / 15.6 MB, free: 132 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.001267/0.001267, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002439/0.002438, allocations: 275.1 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 178.5 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00264/0.00264, allocations: 95.25 kB / 0.6065 GB, free: 24.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1484, allocations: 89.14 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002319/0.1507, allocations: 1.262 MB / 0.6948 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3935/0.5442, allocations: 137.7 MB / 0.8293 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.774e-05/0.5443, allocations: 4 kB / 0.8293 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.5443, allocations: 3.938 kB / 0.8293 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.5444, allocations: 3.766 kB / 0.8293 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.5455, allocations: 466.4 kB / 0.8297 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.408e-05/0.5456, allocations: 39.3 kB / 0.8297 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.5456, allocations: 10.25 kB / 0.8298 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.5457, allocations: 23.12 kB / 0.8298 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.5457, allocations: 23.02 kB / 0.8298 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.5458, allocations: 2.25 kB / 0.8298 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.5472, allocations: 0.8026 MB / 0.8306 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.5472, allocations: 6.391 kB / 0.8306 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.5472, allocations: 19.86 kB / 0.8306 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.5479, allocations: 449.1 kB / 0.831 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5479, allocations: 0 / 0.831 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.365e-06/0.5479, allocations: 1.156 kB / 0.831 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.5479, allocations: 0 / 0.831 GB, free: 3.594 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.0005957/0.5485, allocations: 375.9 kB / 0.8314 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5486, allocations: 9.281 kB / 0.8314 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.5486, allocations: 36.38 kB / 0.8314 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.5488, allocations: 17.42 kB / 0.8315 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.5489, allocations: 161.6 kB / 0.8316 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.5489, allocations: 5.969 kB / 0.8316 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.549, allocations: 11.97 kB / 0.8316 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.5491, allocations: 54.23 kB / 0.8317 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5491, allocations: 0 / 0.8317 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5491, allocations: 8 kB / 0.8317 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.5491, allocations: 1.125 kB / 0.8317 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-05/0.5492, allocations: 19.52 kB / 0.8317 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.5494, allocations: 160.2 kB / 0.8319 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.5495, allocations: 48.34 kB / 0.8319 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.5495, allocations: 20.14 kB / 0.8319 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/0.5607, allocations: 3.178 MB / 0.835 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.5607, allocations: 38.48 kB / 0.8351 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.5607, allocations: 3.938 kB / 0.8351 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.04012/0.6008, allocations: 14.87 MB / 0.8496 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.6009, allocations: 55.41 kB / 0.8496 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.601, allocations: 97.86 kB / 0.8497 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.601, allocations: 25.7 kB / 0.8498 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.6011, allocations: 80.14 kB / 0.8498 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.6011, allocations: 51.23 kB / 0.8499 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.6012, allocations: 29.72 kB / 0.8499 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6013, allocations: 318.8 kB / 0.8502 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.6013, allocations: 28.11 kB / 0.8502 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/0.6014, allocations: 24 kB / 0.8503 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.6015, allocations: 62.53 kB / 0.8503 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.6015, allocations: 0 / 0.8503 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002203/0.6018, allocations: 109.7 kB / 0.8504 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.6018, allocations: 4 kB / 0.8504 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.6018, allocations: 0 / 0.8504 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.6018, allocations: 0 / 0.8504 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.6019, allocations: 20 kB / 0.8505 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.6019, allocations: 3.984 kB / 0.8505 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.602, allocations: 13.19 kB / 0.8505 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.602, allocations: 3.938 kB / 0.8505 GB, free: 10.38 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.517e-05/0.6021, allocations: 118.4 kB / 0.8506 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.6021, allocations: 7.906 kB / 0.8506 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.6024, allocations: 129.5 kB / 0.8507 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.6024, allocations: 0 / 0.8507 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6024, allocations: 0 / 0.8507 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6024, allocations: 0 / 0.8507 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.6026, allocations: 177.6 kB / 0.8509 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6026, allocations: 3.938 kB / 0.8509 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.6027, allocations: 27.98 kB / 0.8509 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6028, allocations: 2.375 kB / 0.8509 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.6028, allocations: 4 kB / 0.8509 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6028, allocations: 0 / 0.8509 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6028, allocations: 0 / 0.8509 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.6031, allocations: 160.9 kB / 0.8511 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.6032, allocations: 89.14 kB / 0.8512 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.6032, allocations: 0 / 0.8512 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.6033, allocations: 11.98 kB / 0.8512 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.6034, allocations: 15.92 kB / 0.8512 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.6034, allocations: 4 kB / 0.8512 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.786e-05/0.6034, allocations: 87.22 kB / 0.8513 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6034, allocations: 0 / 0.8513 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001592/0.605, allocations: 0.5624 MB / 0.8518 GB, free: 8.895 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.003185/0.6082, allocations: 0.9356 MB / 0.8527 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.6084, allocations: 79.91 kB / 0.8528 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6084, allocations: 0 / 0.8528 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.791e-05/0.6085, allocations: 39.86 kB / 0.8529 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.6087, allocations: 8.547 kB / 0.8529 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.6108, allocations: 1.543 MB / 0.8544 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.6111, allocations: 0.6853 MB / 0.855 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.238e-05/0.6111, allocations: 24.55 kB / 0.8551 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.6112, allocations: 23.42 kB / 0.8551 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.6112, allocations: 0 / 0.8551 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0552/0.6664, allocations: 25.43 MB / 0.8799 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.658, allocations: 3.203 kB / 0.8799 GB, free: 12.08 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)