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.001429/0.001429, allocations: 105.8 kB / 16.27 MB, free: 6.41 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.001639/0.001639, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.255/1.255, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6932/0.6932, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2811, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1484/0.4295, allocations: 170.8 MB / 0.734 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004611/0.4342, allocations: 3.383 MB / 0.7373 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.4346, allocations: 19.88 kB / 0.7374 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.4353, allocations: 314.1 kB / 0.7377 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.4373, allocations: 1.02 MB / 0.7387 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.4386, allocations: 0.6549 MB / 0.7393 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001371/0.44, allocations: 1.521 MB / 0.7408 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005218/0.4405, allocations: 481.4 kB / 0.7412 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006523/0.4412, allocations: 0.5642 MB / 0.7418 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008019/0.442, allocations: 466.6 kB / 0.7422 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.549e-05/0.4421, allocations: 60 kB / 0.7423 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.4433, allocations: 0.8301 MB / 0.7431 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.4435, allocations: 239.3 kB / 0.7433 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.4438, allocations: 342.5 kB / 0.7437 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.445, allocations: 1.118 MB / 0.7448 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.445, allocations: 0 / 0.7448 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.445, allocations: 0 / 0.7448 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.445, allocations: 0 / 0.7448 GB, free: 4.395 MB / 0.5762 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.001173/0.4462, allocations: 0.9231 MB / 0.7457 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.4462, allocations: 8.625 kB / 0.7457 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.276e-05/0.4463, allocations: 82.53 kB / 0.7457 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.4474, allocations: 171.2 kB / 0.7459 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.448, allocations: 0.5013 MB / 0.7464 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.4481, allocations: 37 kB / 0.7464 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.4481, allocations: 43.98 kB / 0.7465 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.4488, allocations: 482.4 kB / 0.7469 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4489, allocations: 0 / 0.7469 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/0.4489, allocations: 16 kB / 0.7469 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.4489, allocations: 20.98 kB / 0.747 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005897/0.4495, allocations: 415.8 kB / 0.7474 GB, free: 1.609 MB / 0.5762 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.1948/0.6443, allocations: 1.742 MB / 0.7491 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.6449, allocations: 294.3 kB / 0.7493 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.6451, allocations: 180.4 kB / 0.7495 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.6453, allocations: 101.9 kB / 0.7496 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.6453, allocations: 37.88 kB / 0.7496 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.6453, allocations: 0 / 0.7496 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001871/0.6472, allocations: 1.059 MB / 0.7507 GB, free: 172 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.6472, allocations: 56.66 kB / 0.7507 GB, free: 172 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.6477, allocations: 455 kB / 0.7512 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.6478, allocations: 35.92 kB / 0.7512 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.6479, allocations: 253.7 kB / 0.7514 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.648, allocations: 110.3 kB / 0.7516 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.6481, allocations: 71.97 kB / 0.7516 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.6482, allocations: 358.8 kB / 0.752 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.6484, allocations: 126.3 kB / 0.7521 GB, free: 171 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.6486, allocations: 195.4 kB / 0.7523 GB, free: 170.9 MB / 0.5762 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.001827/0.6505, allocations: 0.8622 MB / 0.7531 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6505, allocations: 3.578 kB / 0.7531 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005734/0.6511, allocations: 415.1 kB / 0.7535 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6511, allocations: 5.75 kB / 0.7535 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6511, allocations: 2.609 kB / 0.7535 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6511, allocations: 11.59 kB / 0.7535 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.6514, allocations: 72.19 kB / 0.7536 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6514, allocations: 4.375 kB / 0.7536 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.6518, allocations: 15.2 kB / 0.7536 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.6519, allocations: 14.12 kB / 0.7536 GB, free: 170.3 MB / 0.5762 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.0002024/0.6521, allocations: 210.4 kB / 0.7538 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.371e-05/0.6522, allocations: 57.27 kB / 0.7539 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.6523, allocations: 63.73 kB / 0.7539 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6523, allocations: 3.062 kB / 0.754 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6523, allocations: 1.156 kB / 0.754 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004462/0.6528, allocations: 406.1 kB / 0.7543 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.6545, allocations: 1.244 MB / 0.7556 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.6545, allocations: 4.719 kB / 0.7556 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.6549, allocations: 70.53 kB / 0.7556 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.6549, allocations: 5.562 kB / 0.7556 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.6549, allocations: 15.48 kB / 0.7556 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/0.6549, allocations: 7.453 kB / 0.7557 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.655, allocations: 10.31 kB / 0.7557 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008422/0.6558, allocations: 0.6948 MB / 0.7563 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.656, allocations: 170.6 kB / 0.7565 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.6561, allocations: 12.48 kB / 0.7565 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.6565, allocations: 24.5 kB / 0.7565 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.6565, allocations: 35.28 kB / 0.7566 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.6566, allocations: 17.52 kB / 0.7566 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003244/0.6569, allocations: 331.2 kB / 0.7569 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6569, allocations: 0 / 0.7569 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005245/0.6574, allocations: 143.2 kB / 0.757 GB, free: 168.3 MB / 0.5762 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.001047/0.6585, allocations: 1.313 MB / 0.7583 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.659, allocations: 345.2 kB / 0.7587 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.659, allocations: 1.719 kB / 0.7587 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.6592, allocations: 163.7 kB / 0.7588 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.6609, allocations: 365.9 kB / 0.7592 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.6654, allocations: 4.478 MB / 0.7635 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.6657, allocations: 0.8915 MB / 0.7644 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005069/0.6662, allocations: 139.5 kB / 0.7645 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.6664, allocations: 168 kB / 0.7647 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.6664, allocations: 0 / 0.7647 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7329/1.399, allocations: 15.37 MB / 0.7797 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/12.36, allocations: 8.344 kB / 0.7797 GB, free: 156.1 MB / 0.5762 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/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)