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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 104.4 kB / 16.4 MB, free: 6.02 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.001813/0.001813, allocations: 191.4 kB / 17.34 MB, free: 5.605 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002509/0.002509, allocations: 281.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 99.83 kB / 0.6822 GB, free: 6.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4322, allocations: 86.98 MB / 0.7671 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6445/1.077, allocations: 210.4 MB / 0.9726 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01263/1.089, allocations: 9.876 MB / 0.9822 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/1.091, allocations: 63.59 kB / 0.9823 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/1.093, allocations: 0.8137 MB / 0.9831 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00624/1.099, allocations: 2.913 MB / 0.9859 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/1.103, allocations: 1.391 MB / 0.9873 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003899/1.107, allocations: 4.061 MB / 0.9913 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/1.108, allocations: 1.121 MB / 0.9923 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/1.109, allocations: 1.42 MB / 0.9937 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/1.111, allocations: 1.222 MB / 0.9949 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/1.111, allocations: 145.8 kB / 0.9951 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003847/1.115, allocations: 2.401 MB / 0.9974 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005203/1.116, allocations: 0.6209 MB / 0.998 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008728/1.116, allocations: 0.8634 MB / 0.9989 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004249/1.121, allocations: 3.022 MB / 1.002 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.121, allocations: 0 / 1.002 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/1.121, allocations: 0.875 kB / 1.002 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.827e-05/1.121, allocations: 3.5 kB / 1.002 GB, free: 1.023 MB / 0.7169 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.002918/1.124, allocations: 1.957 MB / 1.004 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/1.124, allocations: 10.16 kB / 1.004 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/1.127, allocations: 490.7 kB / 1.004 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/1.129, allocations: 1.144 MB / 1.005 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/1.129, allocations: 86.14 kB / 1.005 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/1.129, allocations: 110.8 kB / 1.006 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/1.131, allocations: 1.154 MB / 1.007 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/1.131, allocations: 2.625 kB / 1.007 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.131, allocations: 46.38 kB / 1.007 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/1.131, allocations: 42.77 kB / 1.007 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/1.132, allocations: 1.081 MB / 1.008 GB, free: 15.45 MB / 0.7325 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.006115/1.139, allocations: 4.199 MB / 1.012 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/1.14, allocations: 0.7565 MB / 1.013 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/1.14, allocations: 457.7 kB / 1.013 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004304/1.141, allocations: 296 kB / 1.013 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/1.141, allocations: 51.41 kB / 1.013 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=83): time 2.955e-06/1.141, allocations: 0 / 1.013 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=89): time 0.005343/1.146, allocations: 2.865 MB / 1.016 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/1.146, allocations: 60.12 kB / 1.016 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/1.147, allocations: 0.9739 MB / 1.017 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.48e-05/1.147, allocations: 44.95 kB / 1.017 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/1.148, allocations: 0.5568 MB / 1.018 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/1.148, allocations: 322.9 kB / 1.018 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/1.148, allocations: 161.3 kB / 1.018 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.148, allocations: 341.6 kB / 1.019 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/1.149, allocations: 341.1 kB / 1.019 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/1.149, allocations: 488.8 kB / 1.019 GB, free: 11.57 MB / 0.7325 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.005445/1.155, allocations: 3.039 MB / 1.022 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.155, allocations: 3.406 kB / 1.022 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001489/1.156, allocations: 1.007 MB / 1.023 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.156, allocations: 8.688 kB / 1.023 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.156, allocations: 8.297 kB / 1.023 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/1.156, allocations: 9.062 kB / 1.023 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/1.157, allocations: 179.9 kB / 1.024 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/1.157, allocations: 9.891 kB / 1.024 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/1.158, allocations: 29.33 kB / 1.024 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/1.158, allocations: 32.67 kB / 1.024 GB, free: 11.01 MB / 0.7325 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.0006255/1.159, allocations: 383.8 kB / 1.024 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/1.159, allocations: 132.3 kB / 1.024 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/1.159, allocations: 151 kB / 1.024 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/1.159, allocations: 10.94 kB / 1.024 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/1.159, allocations: 0 / 1.024 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001403/1.161, allocations: 1.089 MB / 1.025 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004842/1.166, allocations: 3.054 MB / 1.028 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/1.166, allocations: 13.94 kB / 1.028 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/1.166, allocations: 164.8 kB / 1.028 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003456/1.167, allocations: 98.5 kB / 1.029 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-05/1.167, allocations: 31.5 kB / 1.029 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/1.17, allocations: 3.089 MB / 1.032 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.17, allocations: 16.8 kB / 1.032 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/1.172, allocations: 1.742 MB / 1.033 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006503/1.173, allocations: 309.3 kB / 1.034 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/1.173, allocations: 29.62 kB / 1.034 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009118/1.174, allocations: 39.09 kB / 1.034 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.174, allocations: 87.2 kB / 1.034 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-05/1.174, allocations: 47.12 kB / 1.034 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008845/1.175, allocations: 0.6989 MB / 1.034 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.175, allocations: 0 / 1.034 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001087/1.176, allocations: 374.4 kB / 1.035 GB, free: 5.156 MB / 0.7325 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.0005259/1.176, allocations: 239.7 kB / 1.035 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001249/1.178, allocations: 0.8086 MB / 1.036 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.178, allocations: 3.906 kB / 1.036 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009035/1.179, allocations: 0.6566 MB / 1.036 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00383/1.182, allocations: 0.9298 MB / 1.037 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/1.187, allocations: 2.809 MB / 1.04 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009824/1.188, allocations: 1.249 MB / 1.041 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001156/1.189, allocations: 343.9 kB / 1.042 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/1.189, allocations: 100.7 kB / 1.042 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of SimCode: time 8.62e-07/1.189, allocations: 0 / 1.042 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of Templates: time 0.05216/1.241, allocations: 28.74 MB / 1.07 GB, free: 6.812 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)