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.001658/0.001658, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001743/0.001743, allocations: 183 kB / 17.34 MB, free: 5.75 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 282 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 0.9466/0.9466, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 107.8 kB / 0.6821 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.453/0.4548, allocations: 86.97 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6639/1.119, allocations: 209.9 MB / 0.972 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0137/1.132, allocations: 9.874 MB / 0.9816 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/1.135, allocations: 62.16 kB / 0.9817 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00235/1.138, allocations: 0.7714 MB / 0.9825 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007096/1.145, allocations: 2.806 MB / 0.9852 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003759/1.148, allocations: 1.383 MB / 0.9865 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005895/1.154, allocations: 4.06 MB / 0.9905 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/1.157, allocations: 1.328 MB / 0.9918 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/1.16, allocations: 1.396 MB / 0.9932 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003212/1.163, allocations: 1.237 MB / 0.9944 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005389/1.164, allocations: 145.2 kB / 0.9945 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005588/1.169, allocations: 2.38 MB / 0.9968 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001141/1.171, allocations: 0.6007 MB / 0.9974 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002443/1.173, allocations: 0.8608 MB / 0.9983 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006221/1.179, allocations: 3.014 MB / 1.001 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.179, allocations: 0.9062 kB / 1.001 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/1.179, allocations: 0 / 1.001 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.749e-05/1.179, allocations: 3.594 kB / 1.001 GB, free: 1.016 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.004363/1.184, allocations: 1.9 MB / 1.003 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/1.184, allocations: 11.03 kB / 1.003 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/1.187, allocations: 482.8 kB / 1.004 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/1.189, allocations: 1.133 MB / 1.005 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/1.189, allocations: 79.73 kB / 1.005 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/1.189, allocations: 110.4 kB / 1.005 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/1.191, allocations: 1.153 MB / 1.006 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/1.191, allocations: 7.891 kB / 1.006 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/1.191, allocations: 49.48 kB / 1.006 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-05/1.191, allocations: 47.17 kB / 1.006 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/1.193, allocations: 1.07 MB / 1.007 GB, free: 15.52 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.005446/1.198, allocations: 4.185 MB / 1.011 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.199, allocations: 0.7867 MB / 1.012 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/1.2, allocations: 488.3 kB / 1.012 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003729/1.2, allocations: 295.7 kB / 1.013 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/1.201, allocations: 54.27 kB / 1.013 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=83): time 2.746e-06/1.201, allocations: 0 / 1.013 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=89): time 0.005153/1.206, allocations: 2.834 MB / 1.016 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.206, allocations: 72.16 kB / 1.016 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/1.207, allocations: 0.9792 MB / 1.017 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-05/1.207, allocations: 46.67 kB / 1.017 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/1.207, allocations: 0.5365 MB / 1.017 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/1.208, allocations: 312.5 kB / 1.017 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/1.208, allocations: 158.6 kB / 1.018 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.208, allocations: 340.5 kB / 1.018 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/1.208, allocations: 338.5 kB / 1.018 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/1.209, allocations: 487.7 kB / 1.019 GB, free: 11.7 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.005632/1.215, allocations: 3.043 MB / 1.022 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.215, allocations: 1.406 kB / 1.022 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001586/1.216, allocations: 1.01 MB / 1.023 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/1.216, allocations: 9.125 kB / 1.023 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.216, allocations: 9.75 kB / 1.023 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/1.216, allocations: 6.094 kB / 1.023 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/1.217, allocations: 180.5 kB / 1.023 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/1.217, allocations: 13.84 kB / 1.023 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.218, allocations: 28.52 kB / 1.023 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/1.218, allocations: 35.94 kB / 1.023 GB, free: 11.14 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.0006839/1.219, allocations: 380.6 kB / 1.023 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/1.219, allocations: 127.7 kB / 1.023 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/1.219, allocations: 153.1 kB / 1.024 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.219, allocations: 7.344 kB / 1.024 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.069e-05/1.219, allocations: 0.9062 kB / 1.024 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001381/1.221, allocations: 1.09 MB / 1.025 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/1.225, allocations: 3.055 MB / 1.028 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/1.225, allocations: 14.31 kB / 1.028 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/1.226, allocations: 156.5 kB / 1.028 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003306/1.226, allocations: 104.5 kB / 1.028 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/1.226, allocations: 28.16 kB / 1.028 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/1.229, allocations: 3.099 MB / 1.031 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/1.229, allocations: 17.66 kB / 1.031 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/1.232, allocations: 1.734 MB / 1.033 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/1.232, allocations: 304.5 kB / 1.033 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/1.232, allocations: 31.7 kB / 1.033 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008953/1.233, allocations: 38.66 kB / 1.033 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.233, allocations: 89.89 kB / 1.033 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.337e-05/1.234, allocations: 45.67 kB / 1.033 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009478/1.235, allocations: 0.7013 MB / 1.034 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/1.235, allocations: 0 / 1.034 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001124/1.236, allocations: 376.8 kB / 1.034 GB, free: 5.457 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.0005592/1.236, allocations: 235.6 kB / 1.034 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001302/1.238, allocations: 0.8407 MB / 1.035 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.238, allocations: 3.75 kB / 1.035 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008707/1.238, allocations: 0.6716 MB / 1.036 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004098/1.243, allocations: 0.9189 MB / 1.037 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/1.247, allocations: 2.833 MB / 1.04 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.248, allocations: 1.247 MB / 1.041 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/1.249, allocations: 102.3 kB / 1.041 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of SimCode: time 1.162e-06/1.249, allocations: 6.531 kB / 1.041 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of Templates: time 0.03873/1.287, allocations: 27.26 MB / 1.067 GB, free: 8.258 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)