Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.0006867/0.0006867, allocations: 92.86 kB / 15.7 MB, free: 472 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.0007229/0.0007229, allocations: 172.8 kB / 16.58 MB, free: 5.93 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.157/1.157, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5866/0.5866, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002861, allocations: 12.2 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1164, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.3786/0.4951, allocations: 191.1 MB / 0.7435 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.5059, allocations: 9.276 MB / 0.7526 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.507, allocations: 51.62 kB / 0.7526 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.5082, allocations: 0.524 MB / 0.7531 GB, free: 1.82 MB / 0.5606 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.004028/0.5122, allocations: 2.049 MB / 0.7551 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.5145, allocations: 0.9914 MB / 0.7561 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004049/0.5185, allocations: 4.742 MB / 0.7607 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.5196, allocations: 0.9442 MB / 0.7616 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.5212, allocations: 1.151 MB / 0.7628 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.5226, allocations: 1.167 MB / 0.7639 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.5228, allocations: 56 kB / 0.764 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.5257, allocations: 1.169 MB / 0.7651 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.5262, allocations: 0.5102 MB / 0.7656 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.5265, allocations: 329 kB / 0.7659 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.5284, allocations: 2.05 MB / 0.7679 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.5284, allocations: 4 kB / 0.7679 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5284, allocations: 0 / 0.7679 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.705e-05/0.5284, allocations: 0 / 0.7679 GB, free: 2.617 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002239/0.5307, allocations: 1.609 MB / 0.7695 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.5307, allocations: 16.02 kB / 0.7695 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.5309, allocations: 164.8 kB / 0.7697 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/0.5336, allocations: 485.7 kB / 0.7701 GB, free: 296 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.535, allocations: 1.027 MB / 0.7711 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.5351, allocations: 86.14 kB / 0.7712 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.5352, allocations: 123.8 kB / 0.7713 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.5369, allocations: 1.141 MB / 0.7724 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.5369, allocations: 4 kB / 0.7724 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.111e-05/0.537, allocations: 47.98 kB / 0.7725 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.082e-05/0.5371, allocations: 42.14 kB / 0.7725 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.5385, allocations: 1.067 MB / 0.7736 GB, free: 12.67 MB / 0.5919 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.00458/0.5431, allocations: 4.214 MB / 0.7777 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.5441, allocations: 0.7817 MB / 0.7785 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005561/0.5447, allocations: 482.8 kB / 0.7789 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/0.545, allocations: 292.3 kB / 0.7792 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.545, allocations: 47.56 kB / 0.7792 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=83): time 1.843e-06/0.545, allocations: 0 / 0.7792 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89): time 0.004349/0.5494, allocations: 2.848 MB / 0.782 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.5494, allocations: 60.41 kB / 0.7821 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009554/0.5504, allocations: 0.9715 MB / 0.783 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.5505, allocations: 49.7 kB / 0.7831 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.5508, allocations: 0.5356 MB / 0.7836 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.551, allocations: 319.4 kB / 0.7839 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.5511, allocations: 16 kB / 0.7839 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.5512, allocations: 341.9 kB / 0.7842 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.5516, allocations: 337.8 kB / 0.7846 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/0.5522, allocations: 481.9 kB / 0.785 GB, free: 424 kB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) 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.003993/0.5562, allocations: 2.242 MB / 0.7872 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5562, allocations: 0 / 0.7872 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001253/0.5574, allocations: 1.004 MB / 0.7882 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5574, allocations: 6.344 kB / 0.7882 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5575, allocations: 4 kB / 0.7882 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5575, allocations: 12.31 kB / 0.7882 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.5581, allocations: 183.8 kB / 0.7884 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.5582, allocations: 15.92 kB / 0.7884 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/0.5589, allocations: 75.69 kB / 0.7885 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.559, allocations: 36 kB / 0.7885 GB, free: 12.79 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0004205/0.5594, allocations: 385.2 kB / 0.7889 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.5596, allocations: 122.6 kB / 0.789 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.5599, allocations: 144.3 kB / 0.7891 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.5599, allocations: 8 kB / 0.7891 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.5599, allocations: 4 kB / 0.7891 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/0.5611, allocations: 1.094 MB / 0.7902 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/0.5649, allocations: 3.04 MB / 0.7932 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.5649, allocations: 8.219 kB / 0.7932 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.5655, allocations: 167.7 kB / 0.7934 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/0.5658, allocations: 101.6 kB / 0.7934 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.248e-05/0.5658, allocations: 36.05 kB / 0.7935 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.5678, allocations: 2.869 MB / 0.7963 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.5678, allocations: 15.94 kB / 0.7963 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.5697, allocations: 1.725 MB / 0.798 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.5702, allocations: 311.5 kB / 0.7983 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.5703, allocations: 28 kB / 0.7983 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008201/0.5711, allocations: 79.73 kB / 0.7984 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5712, allocations: 84.14 kB / 0.7985 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.099e-05/0.5713, allocations: 43.98 kB / 0.7985 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007666/0.5721, allocations: 0.6917 MB / 0.7992 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5721, allocations: 0 / 0.7992 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009912/0.5731, allocations: 380 kB / 0.7995 GB, free: 0.793 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00278/0.5759, allocations: 2.411 MB / 0.8019 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.5771, allocations: 0.824 MB / 0.8027 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5771, allocations: 4 kB / 0.8027 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008079/0.5779, allocations: 0.6664 MB / 0.8034 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/0.5815, allocations: 0.8833 MB / 0.8042 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.5918, allocations: 7.934 MB / 0.812 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/0.5925, allocations: 1.257 MB / 0.8132 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001157/0.5937, allocations: 339 kB / 0.8135 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005648/0.5943, allocations: 475.3 kB / 0.814 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of SimCode: time 8.42e-07/0.5943, allocations: 0 / 0.814 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2619/0.8562, allocations: 37.86 MB / 0.8509 GB, free: 222.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001266/0.8563, allocations: 264.1 kB / 0.8512 GB, free: 221.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/3.033, allocations: 5 kB / 0.8512 GB, free: 221.7 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) Environment - environmentSimulation: