Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001404/0.001404, allocations: 104 kB / 16.41 MB, free: 6.488 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.001181/0.001181, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7921/0.7921, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 69.36 kB / 0.5735 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1351, allocations: 78.87 MB / 0.6506 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4661/0.6012, allocations: 170.8 MB / 0.8174 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004838/0.6061, allocations: 3.385 MB / 0.8207 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005661/0.6067, allocations: 22.44 kB / 0.8207 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008513/0.6075, allocations: 313.5 kB / 0.821 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.6097, allocations: 1.013 MB / 0.822 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.6112, allocations: 0.6674 MB / 0.8226 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001548/0.6127, allocations: 1.528 MB / 0.8241 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005565/0.6133, allocations: 472 kB / 0.8246 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.6143, allocations: 0.702 MB / 0.8252 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009364/0.6153, allocations: 458.8 kB / 0.8257 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.825e-05/0.6154, allocations: 53.22 kB / 0.8257 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.6167, allocations: 0.8328 MB / 0.8266 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.6169, allocations: 234.9 kB / 0.8268 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.6172, allocations: 342.8 kB / 0.8271 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.6186, allocations: 1.136 MB / 0.8282 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6186, allocations: 0 / 0.8282 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.859e-06/0.6186, allocations: 0 / 0.8282 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.6186, allocations: 3.938 kB / 0.8282 GB, free: 5.121 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001292/0.6199, allocations: 0.9275 MB / 0.8291 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.6199, allocations: 13.97 kB / 0.8291 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.6201, allocations: 81.47 kB / 0.8292 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.6212, allocations: 175.2 kB / 0.8294 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007399/0.6219, allocations: 0.5345 MB / 0.8299 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.6219, allocations: 30.34 kB / 0.8299 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-05/0.622, allocations: 44 kB / 0.83 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000712/0.6227, allocations: 473 kB / 0.8304 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.6228, allocations: 3.188 kB / 0.8304 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/0.6228, allocations: 18.75 kB / 0.8304 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.6228, allocations: 15.53 kB / 0.8305 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006109/0.6235, allocations: 411.2 kB / 0.8309 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.6258, allocations: 1.809 MB / 0.8326 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.6263, allocations: 295.5 kB / 0.8329 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.6265, allocations: 182.2 kB / 0.8331 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.6267, allocations: 111.4 kB / 0.8332 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.6267, allocations: 37.56 kB / 0.8332 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.6267, allocations: 0 / 0.8332 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001815/0.6286, allocations: 1.067 MB / 0.8343 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.6286, allocations: 55.84 kB / 0.8343 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.6291, allocations: 456.5 kB / 0.8347 GB, free: 292 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.6291, allocations: 36.36 kB / 0.8348 GB, free: 252 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.6293, allocations: 249.6 kB / 0.835 GB, free: 24 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.6294, allocations: 125.2 kB / 0.8351 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.6296, allocations: 69.38 kB / 0.8352 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.6297, allocations: 359 kB / 0.8355 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.6299, allocations: 132 kB / 0.8357 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.6302, allocations: 205.9 kB / 0.8359 GB, free: 15.31 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.632, allocations: 0.8544 MB / 0.8367 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6321, allocations: 0 / 0.8367 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005769/0.6326, allocations: 425.3 kB / 0.8371 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.6327, allocations: 4.719 kB / 0.8371 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.6327, allocations: 2.625 kB / 0.8371 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.6327, allocations: 7.188 kB / 0.8371 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.633, allocations: 69.41 kB / 0.8372 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.633, allocations: 4.844 kB / 0.8372 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.6333, allocations: 20.64 kB / 0.8372 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.6334, allocations: 10.16 kB / 0.8372 GB, free: 14.54 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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 0.00024/0.6336, allocations: 218.1 kB / 0.8374 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.598e-05/0.6337, allocations: 51 kB / 0.8375 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.6339, allocations: 63.59 kB / 0.8375 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.6339, allocations: 6.906 kB / 0.8375 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.6339, allocations: 0 / 0.8375 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004833/0.6344, allocations: 401.9 kB / 0.8379 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.6361, allocations: 1.252 MB / 0.8392 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6361, allocations: 2.531 kB / 0.8392 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.6364, allocations: 77.84 kB / 0.8392 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.6364, allocations: 5.125 kB / 0.8392 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.6364, allocations: 11.09 kB / 0.8392 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.6365, allocations: 5.75 kB / 0.8392 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.6365, allocations: 8.875 kB / 0.8393 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.6373, allocations: 0.7081 MB / 0.8399 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.6375, allocations: 173.2 kB / 0.8401 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.6376, allocations: 11.75 kB / 0.8401 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.6379, allocations: 20.52 kB / 0.8401 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.638, allocations: 38.34 kB / 0.8402 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.638, allocations: 19.66 kB / 0.8402 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003297/0.6384, allocations: 333.3 kB / 0.8405 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6384, allocations: 0 / 0.8405 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004681/0.6389, allocations: 140.3 kB / 0.8407 GB, free: 12.07 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.001348/0.6402, allocations: 1.316 MB / 0.8419 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.6407, allocations: 327.3 kB / 0.8423 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6407, allocations: 3.031 kB / 0.8423 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.6409, allocations: 170.3 kB / 0.8424 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.6426, allocations: 366.8 kB / 0.8428 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00502/0.6476, allocations: 4.414 MB / 0.8471 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.6481, allocations: 0.8883 MB / 0.8479 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004348/0.6485, allocations: 124.6 kB / 0.8481 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.6488, allocations: 171.4 kB / 0.8482 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.6488, allocations: 4 kB / 0.8482 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04008/0.6889, allocations: 15.47 MB / 0.8633 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.872, allocations: 4 kB / 0.8633 GB, free: 7.109 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)