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.0006859/0.0006859, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007059/0.0007058, allocations: 172.4 kB / 16.58 MB, free: 6.469 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.161/1.161, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5941/0.5941, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002654, allocations: 12.62 kB / 493.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1125, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.3603/0.4728, allocations: 155.1 MB / 0.7084 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004451/0.4773, allocations: 3.176 MB / 0.7115 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.4777, allocations: 19.81 kB / 0.7115 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.4782, allocations: 214.7 kB / 0.7117 GB, free: 12.31 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001479/0.4797, allocations: 0.755 MB / 0.7125 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.4808, allocations: 495.9 kB / 0.7129 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00153/0.4823, allocations: 1.778 MB / 0.7147 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.4828, allocations: 367.2 kB / 0.715 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000607/0.4834, allocations: 481.9 kB / 0.7155 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.4839, allocations: 442.3 kB / 0.7159 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.484, allocations: 24 kB / 0.7159 GB, free: 8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008303/0.4848, allocations: 431 kB / 0.7163 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.4851, allocations: 203.4 kB / 0.7165 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.4852, allocations: 145.4 kB / 0.7167 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008072/0.486, allocations: 0.7793 MB / 0.7174 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.486, allocations: 0 / 0.7174 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.293e-06/0.486, allocations: 0 / 0.7174 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.486, allocations: 0 / 0.7174 GB, free: 6.449 MB / 0.5294 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.001078/0.4871, allocations: 0.8033 MB / 0.7182 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.4872, allocations: 8.031 kB / 0.7182 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.012e-05/0.4873, allocations: 82.52 kB / 0.7183 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.4883, allocations: 175.2 kB / 0.7185 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006126/0.4889, allocations: 0.4937 MB / 0.719 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.4889, allocations: 31 kB / 0.719 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.526e-05/0.489, allocations: 44 kB / 0.719 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007012/0.4897, allocations: 470.4 kB / 0.7195 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4897, allocations: 3.938 kB / 0.7195 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.4898, allocations: 16 kB / 0.7195 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.4898, allocations: 24.92 kB / 0.7195 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005925/0.4904, allocations: 411.7 kB / 0.7199 GB, free: 3.812 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.4926, allocations: 1.736 MB / 0.7216 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.493, allocations: 290.3 kB / 0.7219 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.4933, allocations: 184.7 kB / 0.7221 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.4934, allocations: 97.09 kB / 0.7222 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.4935, allocations: 38.56 kB / 0.7222 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.4935, allocations: 0 / 0.7222 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001726/0.4952, allocations: 1.059 MB / 0.7232 GB, free: 204 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.4952, allocations: 55.34 kB / 0.7233 GB, free: 136 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.4957, allocations: 449.9 kB / 0.7237 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.4957, allocations: 33.7 kB / 0.7237 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.4959, allocations: 256 kB / 0.724 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.173e-05/0.496, allocations: 114.3 kB / 0.7241 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.496, allocations: 4 kB / 0.7241 GB, free: 15.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4962, allocations: 362.8 kB / 0.7244 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.4963, allocations: 127.9 kB / 0.7246 GB, free: 14.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.4966, allocations: 198.3 kB / 0.7248 GB, free: 14.56 MB / 0.545 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.001275/0.4979, allocations: 0.5577 MB / 0.7253 GB, free: 13.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4979, allocations: 0 / 0.7253 GB, free: 13.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005457/0.4984, allocations: 408.7 kB / 0.7257 GB, free: 13.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4984, allocations: 8 kB / 0.7257 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.4985, allocations: 0 / 0.7257 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4985, allocations: 4.188 kB / 0.7257 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.4987, allocations: 71.91 kB / 0.7258 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4988, allocations: 7.953 kB / 0.7258 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.4991, allocations: 31.88 kB / 0.7258 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.4992, allocations: 16 kB / 0.7258 GB, free: 13.45 MB / 0.545 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.4994, allocations: 214.3 kB / 0.726 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.4995, allocations: 51.94 kB / 0.7261 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.4996, allocations: 60.75 kB / 0.7261 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4996, allocations: 4 kB / 0.7261 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4996, allocations: 0 / 0.7261 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004513/0.5001, allocations: 408.5 kB / 0.7265 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.5016, allocations: 1.249 MB / 0.7277 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5016, allocations: 7.984 kB / 0.7278 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.5019, allocations: 79.84 kB / 0.7278 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.502, allocations: 7.938 kB / 0.7278 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.502, allocations: 12 kB / 0.7279 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.502, allocations: 4 kB / 0.7279 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.502, allocations: 7.938 kB / 0.7279 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007354/0.5028, allocations: 0.7007 MB / 0.7285 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.503, allocations: 172.5 kB / 0.7287 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/0.503, allocations: 8 kB / 0.7287 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.5034, allocations: 27.27 kB / 0.7287 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.5035, allocations: 39.86 kB / 0.7288 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.5035, allocations: 19.98 kB / 0.7288 GB, free: 10.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003201/0.5038, allocations: 327.1 kB / 0.7291 GB, free: 9.855 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5038, allocations: 0 / 0.7291 GB, free: 9.855 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004669/0.5043, allocations: 144 kB / 0.7293 GB, free: 9.715 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001167/0.5055, allocations: 1.31 MB / 0.7305 GB, free: 8.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004716/0.506, allocations: 317.6 kB / 0.7308 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.506, allocations: 0 / 0.7308 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.5062, allocations: 157 kB / 0.731 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.5076, allocations: 358.4 kB / 0.7313 GB, free: 7.543 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.5115, allocations: 3.098 MB / 0.7344 GB, free: 4.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.512, allocations: 0.89 MB / 0.7352 GB, free: 3.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004974/0.5125, allocations: 132.6 kB / 0.7353 GB, free: 3.281 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.5128, allocations: 167.4 kB / 0.7355 GB, free: 3.117 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5128, allocations: 4 kB / 0.7355 GB, free: 3.113 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.5378, allocations: 15.02 MB / 0.7502 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.538, allocations: 239.4 kB / 0.7504 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.285, allocations: 4 kB / 0.7504 GB, free: 4.141 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) Environment - environmentSimulation: