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.00526/0.00526, allocations: 106 kB / 15.74 MB, free: 6.02 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.001493/0.001493, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 293.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9555/0.9555, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002609/0.002609, allocations: 99.84 kB / 0.6809 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3699, allocations: 86.99 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002241/0.3722, allocations: 1.249 MB / 0.7671 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1499/0.5221, allocations: 137.7 MB / 0.9016 GB, free: 8.32 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.5222, allocations: 0 / 0.9016 GB, free: 8.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.5222, allocations: 0 / 0.9016 GB, free: 8.32 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.5223, allocations: 15.91 kB / 0.9016 GB, free: 8.305 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.5234, allocations: 470.1 kB / 0.9021 GB, free: 7.848 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.467e-05/0.5235, allocations: 35.86 kB / 0.9021 GB, free: 7.812 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.096e-05/0.5235, allocations: 4 kB / 0.9021 GB, free: 7.809 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.5236, allocations: 23.97 kB / 0.9021 GB, free: 7.785 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.5236, allocations: 15.92 kB / 0.9021 GB, free: 7.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.5237, allocations: 8 kB / 0.9021 GB, free: 7.762 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.5251, allocations: 0.8231 MB / 0.903 GB, free: 6.938 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.5252, allocations: 15.98 kB / 0.903 GB, free: 6.922 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.5252, allocations: 15.92 kB / 0.903 GB, free: 6.906 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.5258, allocations: 452.4 kB / 0.9034 GB, free: 6.469 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5258, allocations: 0 / 0.9034 GB, free: 6.469 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.316e-06/0.5258, allocations: 0 / 0.9034 GB, free: 6.469 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.5258, allocations: 3.938 kB / 0.9034 GB, free: 6.465 MB / 0.67 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.0004865/0.5263, allocations: 371.2 kB / 0.9038 GB, free: 6.055 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5264, allocations: 12.03 kB / 0.9038 GB, free: 6.043 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.5264, allocations: 30.75 kB / 0.9038 GB, free: 6.004 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.5266, allocations: 20.92 kB / 0.9038 GB, free: 5.984 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.5267, allocations: 164.3 kB / 0.904 GB, free: 5.785 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.5267, allocations: 4.375 kB / 0.904 GB, free: 5.781 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.5267, allocations: 7.938 kB / 0.904 GB, free: 5.773 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.5269, allocations: 53.67 kB / 0.9041 GB, free: 5.715 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5269, allocations: 0 / 0.9041 GB, free: 5.715 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.5269, allocations: 0 / 0.9041 GB, free: 5.715 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.5269, allocations: 4 kB / 0.9041 GB, free: 5.711 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.211e-05/0.527, allocations: 23.92 kB / 0.9041 GB, free: 5.688 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.5272, allocations: 173.6 kB / 0.9042 GB, free: 5.469 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.5273, allocations: 54.44 kB / 0.9043 GB, free: 5.406 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.5274, allocations: 20.84 kB / 0.9043 GB, free: 5.383 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/0.5382, allocations: 3.206 MB / 0.9074 GB, free: 2.082 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.5382, allocations: 30.56 kB / 0.9075 GB, free: 2.043 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.5382, allocations: 0 / 0.9075 GB, free: 2.043 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.04202/0.5803, allocations: 15 MB / 0.9221 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.5803, allocations: 51.41 kB / 0.9222 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.5804, allocations: 89.86 kB / 0.9223 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.5804, allocations: 37.83 kB / 0.9223 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.5805, allocations: 80.14 kB / 0.9224 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.5805, allocations: 47.58 kB / 0.9224 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.5806, allocations: 33.64 kB / 0.9225 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5807, allocations: 318.8 kB / 0.9228 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-05/0.5808, allocations: 23.98 kB / 0.9228 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.674e-05/0.5808, allocations: 23.98 kB / 0.9228 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.581, allocations: 59.48 kB / 0.9229 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.581, allocations: 4 kB / 0.9229 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002201/0.5812, allocations: 109.6 kB / 0.923 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.5812, allocations: 8 kB / 0.923 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5812, allocations: 0 / 0.923 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.5812, allocations: 0 / 0.923 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.5814, allocations: 23.98 kB / 0.923 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5814, allocations: 0 / 0.923 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.5814, allocations: 0 / 0.923 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.5814, allocations: 8 kB / 0.923 GB, free: 1.934 MB / 0.6856 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 9.73e-05/0.5815, allocations: 125.7 kB / 0.9231 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.5816, allocations: 11.94 kB / 0.9231 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.5819, allocations: 121.5 kB / 0.9233 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5819, allocations: 4 kB / 0.9233 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5819, allocations: 4 kB / 0.9233 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5819, allocations: 0 / 0.9233 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.5821, allocations: 177.6 kB / 0.9234 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5821, allocations: 4 kB / 0.9234 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.5822, allocations: 31.92 kB / 0.9235 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5822, allocations: 0 / 0.9235 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.5822, allocations: 0 / 0.9235 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5822, allocations: 7.984 kB / 0.9235 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5822, allocations: 0 / 0.9235 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.5825, allocations: 152.9 kB / 0.9236 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/0.5826, allocations: 89.14 kB / 0.9237 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.5826, allocations: 7.984 kB / 0.9237 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.5828, allocations: 8 kB / 0.9237 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.5828, allocations: 11.98 kB / 0.9237 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.5828, allocations: 4 kB / 0.9237 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.899e-05/0.5829, allocations: 75.28 kB / 0.9238 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5829, allocations: 3.938 kB / 0.9238 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001511/0.5844, allocations: 0.5699 MB / 0.9244 GB, free: 444 kB / 0.6856 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.003325/0.5877, allocations: 0.9439 MB / 0.9253 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001727/0.5879, allocations: 63.92 kB / 0.9253 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5879, allocations: 0 / 0.9253 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.588, allocations: 39.92 kB / 0.9254 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.5882, allocations: 8 kB / 0.9254 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.5902, allocations: 1.559 MB / 0.9269 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.5905, allocations: 0.6924 MB / 0.9276 GB, free: 13 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 8.625e-05/0.5906, allocations: 29.02 kB / 0.9276 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.5907, allocations: 19.44 kB / 0.9276 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of SimCode: time 3.657e-06/0.5907, allocations: 0 / 0.9276 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05339/0.6441, allocations: 25.48 MB / 0.9525 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.696, allocations: 0 / 0.9525 GB, free: 3.551 MB / 0.7169 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)