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.007514/0.007514, allocations: 107.8 kB / 15.7 MB, free: 5.57 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.001779/0.001779, allocations: 194.4 kB / 16.64 MB, free: 5.516 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.295/1.295, allocations: 222.9 MB / 240.3 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 294.5 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.892/0.892, allocations: 169.3 MB / 0.4983 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 94.06 kB / 0.5955 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1483, allocations: 86.98 MB / 0.6805 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4979/0.6462, allocations: 209.9 MB / 0.8854 GB, free: 244 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.6595, allocations: 9.878 MB / 0.895 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.6613, allocations: 57.28 kB / 0.8951 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.6631, allocations: 0.7638 MB / 0.8958 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006299/0.6694, allocations: 2.809 MB / 0.8986 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.6725, allocations: 1.392 MB / 0.8999 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004613/0.6772, allocations: 4.063 MB / 0.9039 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.6789, allocations: 1.33 MB / 0.9052 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.6811, allocations: 1.358 MB / 0.9065 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.6834, allocations: 1.235 MB / 0.9077 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.6836, allocations: 148 kB / 0.9079 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004516/0.6881, allocations: 2.381 MB / 0.9102 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005851/0.6887, allocations: 0.6116 MB / 0.9108 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009817/0.6897, allocations: 0.8517 MB / 0.9116 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004265/0.694, allocations: 3.007 MB / 0.9146 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.694, allocations: 0 / 0.9146 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.723e-06/0.694, allocations: 0 / 0.9146 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.814e-05/0.694, allocations: 4 kB / 0.9146 GB, free: 7.414 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.003054/0.6971, allocations: 1.905 MB / 0.9164 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.6971, allocations: 12.03 kB / 0.9165 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/0.6973, allocations: 173.9 kB / 0.9166 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002998/0.7003, allocations: 485.7 kB / 0.9171 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.7021, allocations: 1.124 MB / 0.9182 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/0.7021, allocations: 82.14 kB / 0.9183 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.7023, allocations: 116 kB / 0.9184 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.7041, allocations: 1.149 MB / 0.9195 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.7041, allocations: 3.938 kB / 0.9195 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.983e-05/0.7043, allocations: 48 kB / 0.9195 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/0.7043, allocations: 42.12 kB / 0.9196 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.7058, allocations: 1.074 MB / 0.9206 GB, free: 1.062 MB / 0.6231 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.005254/0.7111, allocations: 4.199 MB / 0.9247 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.7122, allocations: 0.786 MB / 0.9255 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/0.7129, allocations: 486.8 kB / 0.926 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/0.7132, allocations: 292.3 kB / 0.9262 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.7133, allocations: 47.56 kB / 0.9263 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 2.204e-06/0.7133, allocations: 0 / 0.9263 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.005021/0.7183, allocations: 2.848 MB / 0.9291 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.7184, allocations: 60.41 kB / 0.9291 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.7195, allocations: 0.9754 MB / 0.9301 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.751e-05/0.7196, allocations: 49.7 kB / 0.9301 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/0.72, allocations: 0.5318 MB / 0.9306 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.7202, allocations: 315.4 kB / 0.9309 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.7205, allocations: 154.6 kB / 0.9311 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.7206, allocations: 337.9 kB / 0.9314 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/0.7211, allocations: 349.8 kB / 0.9317 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/0.7217, allocations: 489.9 kB / 0.9322 GB, free: 4.664 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.005669/0.7274, allocations: 3.052 MB / 0.9352 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7274, allocations: 3.938 kB / 0.9352 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001453/0.7289, allocations: 1.015 MB / 0.9362 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.7289, allocations: 4 kB / 0.9362 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.7289, allocations: 4 kB / 0.9362 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.7289, allocations: 8.375 kB / 0.9362 GB, free: 496 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/0.7296, allocations: 187.7 kB / 0.9364 GB, free: 308 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.7297, allocations: 8 kB / 0.9364 GB, free: 300 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000866/0.7305, allocations: 20 kB / 0.9364 GB, free: 280 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.7306, allocations: 35.98 kB / 0.9364 GB, free: 244 kB / 0.6387 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: 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.0005281/0.7311, allocations: 383.4 kB / 0.9368 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.7313, allocations: 130.4 kB / 0.9369 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.7316, allocations: 144.3 kB / 0.9371 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.7316, allocations: 12 kB / 0.9371 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.7317, allocations: 0 / 0.9371 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001429/0.7331, allocations: 1.098 MB / 0.9382 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004246/0.7373, allocations: 3.043 MB / 0.9411 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.7374, allocations: 11.98 kB / 0.9411 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/0.738, allocations: 160.6 kB / 0.9413 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003108/0.7384, allocations: 105.7 kB / 0.9414 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.748e-05/0.7384, allocations: 28 kB / 0.9414 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.7409, allocations: 3.09 MB / 0.9444 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/0.7409, allocations: 11.94 kB / 0.9445 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.7432, allocations: 1.733 MB / 0.9461 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000508/0.7437, allocations: 307.5 kB / 0.9464 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.7439, allocations: 39.86 kB / 0.9465 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009434/0.7448, allocations: 38.56 kB / 0.9465 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.745, allocations: 92.03 kB / 0.9466 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.183e-05/0.7451, allocations: 47.98 kB / 0.9466 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009344/0.746, allocations: 0.6956 MB / 0.9473 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.746, allocations: 0 / 0.9473 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001168/0.7472, allocations: 376 kB / 0.9477 GB, free: 4.02 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.002884/0.7501, allocations: 2.412 MB / 0.95 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.7514, allocations: 0.8403 MB / 0.9509 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.7515, allocations: 8.062 kB / 0.9509 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009332/0.7524, allocations: 0.6696 MB / 0.9515 GB, free: 15.92 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/0.756, allocations: 0.9282 MB / 0.9524 GB, free: 15.02 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.7695, allocations: 9.685 MB / 0.9619 GB, free: 4.891 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009845/0.7705, allocations: 1.245 MB / 0.9631 GB, free: 3.617 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001111/0.7716, allocations: 339 kB / 0.9634 GB, free: 3.281 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000656/0.7723, allocations: 471.3 kB / 0.9639 GB, free: 2.82 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/0.7723, allocations: 0 / 0.9639 GB, free: 2.82 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06791/0.8402, allocations: 38.19 MB / 1.001 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.76, allocations: 6.094 kB / 1.001 GB, free: 13.25 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)