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.001015/0.001015, allocations: 100.1 kB / 15.88 MB, free: 12 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.001363/0.001363, allocations: 209.6 kB / 16.79 MB, free: 6.84 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.204/1.204, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6283/0.6283, allocations: 115.3 MB / 406 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 68.44 kB / 493 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1186, allocations: 76.19 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.3707/0.4893, allocations: 168.5 MB / 0.7204 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004671/0.494, allocations: 3.425 MB / 0.7237 GB, free: 11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005425/0.4946, allocations: 23.81 kB / 0.7238 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007719/0.4954, allocations: 266.6 kB / 0.724 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.4973, allocations: 0.9571 MB / 0.725 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.4986, allocations: 0.6035 MB / 0.7255 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001855/0.5005, allocations: 2.106 MB / 0.7276 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005418/0.501, allocations: 412.9 kB / 0.728 GB, free: 6.637 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007989/0.5018, allocations: 493.9 kB / 0.7285 GB, free: 6.152 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009793/0.5028, allocations: 493.8 kB / 0.7289 GB, free: 5.672 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.734e-05/0.5029, allocations: 24 kB / 0.729 GB, free: 5.648 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.5043, allocations: 0.9507 MB / 0.7299 GB, free: 4.695 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.5045, allocations: 211.4 kB / 0.7301 GB, free: 4.488 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003311/0.5048, allocations: 310.5 kB / 0.7304 GB, free: 4.184 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.506, allocations: 1.153 MB / 0.7315 GB, free: 3.027 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5061, allocations: 0 / 0.7315 GB, free: 3.027 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5061, allocations: 0 / 0.7315 GB, free: 3.027 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.5061, allocations: 0 / 0.7315 GB, free: 3.027 MB / 0.545 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.001287/0.5074, allocations: 0.9162 MB / 0.7324 GB, free: 2.062 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.5074, allocations: 12.03 kB / 0.7324 GB, free: 2.051 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.37e-05/0.5075, allocations: 86.52 kB / 0.7325 GB, free: 1.957 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.5086, allocations: 175.1 kB / 0.7327 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006624/0.5093, allocations: 0.4974 MB / 0.7332 GB, free: 1.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.5093, allocations: 29 kB / 0.7332 GB, free: 1.223 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.5094, allocations: 44 kB / 0.7332 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.5101, allocations: 482.3 kB / 0.7337 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.5101, allocations: 0 / 0.7337 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/0.5102, allocations: 24 kB / 0.7337 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.5102, allocations: 13 kB / 0.7337 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005768/0.5108, allocations: 411.7 kB / 0.7341 GB, free: 272 kB / 0.545 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.002186/0.513, allocations: 1.728 MB / 0.7358 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.5135, allocations: 315.8 kB / 0.7361 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.5137, allocations: 180.7 kB / 0.7363 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.5139, allocations: 97.09 kB / 0.7364 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.5139, allocations: 42.5 kB / 0.7364 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.312e-06/0.5139, allocations: 0 / 0.7364 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001736/0.5156, allocations: 1.055 MB / 0.7374 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.5157, allocations: 55.41 kB / 0.7375 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.5161, allocations: 457.8 kB / 0.7379 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.5161, allocations: 37.7 kB / 0.738 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.5163, allocations: 244.2 kB / 0.7382 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/0.5164, allocations: 118.3 kB / 0.7383 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/0.5165, allocations: 77.59 kB / 0.7384 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5166, allocations: 350.8 kB / 0.7387 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.5168, allocations: 131.9 kB / 0.7388 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.517, allocations: 197.7 kB / 0.739 GB, free: 10.93 MB / 0.5606 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.001742/0.5188, allocations: 0.8563 MB / 0.7399 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5188, allocations: 0 / 0.7399 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005463/0.5194, allocations: 427.1 kB / 0.7403 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.5194, allocations: 8 kB / 0.7403 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5194, allocations: 0 / 0.7403 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.5194, allocations: 4 kB / 0.7403 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.5197, allocations: 71.91 kB / 0.7404 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.5197, allocations: 4 kB / 0.7404 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.5201, allocations: 32.09 kB / 0.7404 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.5201, allocations: 16 kB / 0.7404 GB, free: 9.484 MB / 0.5606 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.0002116/0.5204, allocations: 206.7 kB / 0.7406 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.5204, allocations: 63.22 kB / 0.7407 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.5206, allocations: 56.75 kB / 0.7407 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.5206, allocations: 8 kB / 0.7407 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5206, allocations: 0 / 0.7407 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004347/0.521, allocations: 412.5 kB / 0.7411 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.5226, allocations: 1.245 MB / 0.7423 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5226, allocations: 7.984 kB / 0.7423 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.5229, allocations: 72.5 kB / 0.7424 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.523, allocations: 8 kB / 0.7424 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.523, allocations: 8 kB / 0.7424 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.523, allocations: 8.75 kB / 0.7424 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.523, allocations: 7.938 kB / 0.7424 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.5238, allocations: 0.6959 MB / 0.7431 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.524, allocations: 172.4 kB / 0.7433 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.524, allocations: 8 kB / 0.7433 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.5244, allocations: 43.89 kB / 0.7433 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.5245, allocations: 35.84 kB / 0.7434 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.5245, allocations: 15.98 kB / 0.7434 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003109/0.5249, allocations: 331.1 kB / 0.7437 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5249, allocations: 0 / 0.7437 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004925/0.5254, allocations: 144 kB / 0.7438 GB, free: 5.742 MB / 0.5606 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.001168/0.5265, allocations: 1.3 MB / 0.7451 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004725/0.527, allocations: 320.4 kB / 0.7454 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.527, allocations: 384 / 0.7454 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.5272, allocations: 163.7 kB / 0.7456 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.5288, allocations: 351.4 kB / 0.7459 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005081/0.5338, allocations: 4.633 MB / 0.7504 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.5342, allocations: 0.8861 MB / 0.7513 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004491/0.5347, allocations: 136.6 kB / 0.7514 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.5349, allocations: 171.4 kB / 0.7516 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.5349, allocations: 0 / 0.7516 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.825/3.36, allocations: 14.77 MB / 0.766 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/3.36, allocations: 253.3 kB / 0.7663 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/5.153, allocations: 0 / 0.7663 GB, free: 14.77 MB / 0.5919 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)