Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009485/0.0009486, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007058/0.007058, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 263.1 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8849/0.8849, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003913, allocations: 16.72 kB / 0.5988 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1292, allocations: 88.55 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4562/0.5854, allocations: 204.8 MB / 0.8853 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.5981, allocations: 9.858 MB / 0.8949 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.5996, allocations: 51.62 kB / 0.8949 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.6012, allocations: 0.6606 MB / 0.8956 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006076/0.6073, allocations: 2.65 MB / 0.8982 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.6103, allocations: 1.257 MB / 0.8994 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005606/0.6159, allocations: 5.636 MB / 0.9049 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.6173, allocations: 1.091 MB / 0.906 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.6192, allocations: 1.12 MB / 0.9071 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.6214, allocations: 1.233 MB / 0.9083 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.6215, allocations: 56 kB / 0.9083 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/0.626, allocations: 2.743 MB / 0.911 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005044/0.6265, allocations: 0.5102 MB / 0.9115 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008081/0.6273, allocations: 0.7752 MB / 0.9123 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003506/0.6308, allocations: 3.037 MB / 0.9152 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6308, allocations: 4 kB / 0.9152 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6308, allocations: 0 / 0.9152 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.6309, allocations: 0 / 0.9152 GB, free: 4.262 MB / 0.6231 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.002361/0.6332, allocations: 1.603 MB / 0.9168 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.6333, allocations: 8.031 kB / 0.9168 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001923/0.6335, allocations: 172.8 kB / 0.917 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002976/0.6365, allocations: 497.6 kB / 0.9174 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.638, allocations: 1.05 MB / 0.9185 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/0.6381, allocations: 86.14 kB / 0.9185 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.6382, allocations: 119.8 kB / 0.9187 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.64, allocations: 1.153 MB / 0.9198 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.6401, allocations: 11.94 kB / 0.9198 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/0.6402, allocations: 40 kB / 0.9198 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/0.6402, allocations: 50.11 kB / 0.9199 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.6418, allocations: 1.07 MB / 0.9209 GB, free: 14.27 MB / 0.6387 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.005066/0.6468, allocations: 4.213 MB / 0.925 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.648, allocations: 0.7894 MB / 0.9258 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006137/0.6486, allocations: 488 kB / 0.9263 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/0.649, allocations: 300.2 kB / 0.9266 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.649, allocations: 51.47 kB / 0.9266 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 2.184e-06/0.649, allocations: 288 / 0.9266 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.004943/0.654, allocations: 2.848 MB / 0.9294 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.654, allocations: 60.41 kB / 0.9295 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.6551, allocations: 0.9794 MB / 0.9304 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.752e-05/0.6552, allocations: 45.7 kB / 0.9305 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.6556, allocations: 0.5434 MB / 0.931 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.6558, allocations: 307.5 kB / 0.9313 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/0.6559, allocations: 73.67 kB / 0.9313 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.656, allocations: 345.9 kB / 0.9317 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.6565, allocations: 337.8 kB / 0.932 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.6571, allocations: 481.9 kB / 0.9325 GB, free: 1.918 MB / 0.6387 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) 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: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005677/0.6628, allocations: 3.056 MB / 0.9354 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.6628, allocations: 4 kB / 0.9354 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001463/0.6643, allocations: 1.011 MB / 0.9364 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.6643, allocations: 7.984 kB / 0.9364 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6643, allocations: 4 kB / 0.9364 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.6643, allocations: 8 kB / 0.9365 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.6651, allocations: 180.1 kB / 0.9366 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.6651, allocations: 8 kB / 0.9366 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.6661, allocations: 79.7 kB / 0.9367 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.064e-05/0.6662, allocations: 28 kB / 0.9367 GB, free: 13.45 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005458/0.6668, allocations: 388.2 kB / 0.9371 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.6669, allocations: 130.4 kB / 0.9372 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.6673, allocations: 152.3 kB / 0.9374 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.6673, allocations: 8 kB / 0.9374 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.6673, allocations: 8 kB / 0.9374 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001393/0.6687, allocations: 1.09 MB / 0.9385 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004208/0.6729, allocations: 3.048 MB / 0.9414 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.6729, allocations: 8 kB / 0.9414 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/0.6736, allocations: 167.7 kB / 0.9416 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000303/0.6739, allocations: 97.69 kB / 0.9417 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/0.674, allocations: 31.98 kB / 0.9417 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.6761, allocations: 2.877 MB / 0.9445 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/0.6761, allocations: 15.94 kB / 0.9445 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.6783, allocations: 1.733 MB / 0.9462 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/0.6788, allocations: 307.5 kB / 0.9465 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.6789, allocations: 35.98 kB / 0.9466 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009827/0.6799, allocations: 71 kB / 0.9466 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.68, allocations: 92.05 kB / 0.9467 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-05/0.6801, allocations: 44.11 kB / 0.9468 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008257/0.6809, allocations: 0.6917 MB / 0.9474 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6809, allocations: 0 / 0.9474 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001032/0.682, allocations: 376 kB / 0.9478 GB, free: 1.418 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00297/0.6849, allocations: 2.424 MB / 0.9502 GB, free: 14.85 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.6865, allocations: 0.8278 MB / 0.951 GB, free: 14.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.6865, allocations: 4 kB / 0.951 GB, free: 14.02 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.6875, allocations: 0.6703 MB / 0.9516 GB, free: 13.32 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005669/0.6932, allocations: 0.897 MB / 0.9525 GB, free: 12.44 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.7076, allocations: 10.82 MB / 0.9631 GB, free: 1.008 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007952/0.7084, allocations: 1.249 MB / 0.9643 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001302/0.7097, allocations: 331 kB / 0.9646 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000588/0.7103, allocations: 479.3 kB / 0.9651 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of SimCode: time 8.21e-07/0.7103, allocations: 0 / 0.9651 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.894/2.604, allocations: 36.57 MB / 1.001 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/2.604, allocations: 292.7 kB / 1.001 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/5.192, allocations: 0.875 kB / 1.001 GB, free: 10.57 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)