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.001145/0.001145, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001097/0.001097, allocations: 187 kB / 17.34 MB, free: 5.742 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 293.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 0.9562/0.9562, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 91.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4538, allocations: 86.98 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6937/1.148, allocations: 209.9 MB / 0.972 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01308/1.161, allocations: 9.87 MB / 0.9816 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/1.163, allocations: 59.22 kB / 0.9817 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/1.165, allocations: 0.7748 MB / 0.9825 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006582/1.172, allocations: 2.805 MB / 0.9852 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003598/1.175, allocations: 1.384 MB / 0.9866 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004796/1.18, allocations: 4.062 MB / 0.9905 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/1.182, allocations: 1.332 MB / 0.9918 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/1.184, allocations: 1.391 MB / 0.9932 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/1.187, allocations: 1.226 MB / 0.9944 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002632/1.187, allocations: 143.2 kB / 0.9945 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004652/1.192, allocations: 2.386 MB / 0.9968 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006686/1.192, allocations: 0.6025 MB / 0.9974 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001193/1.194, allocations: 0.8604 MB / 0.9983 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004664/1.198, allocations: 3.013 MB / 1.001 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.198, allocations: 4.188 kB / 1.001 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/1.198, allocations: 0 / 1.001 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.616e-05/1.198, allocations: 1 kB / 1.001 GB, free: 1.043 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.002846/1.201, allocations: 1.9 MB / 1.003 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.201, allocations: 11.06 kB / 1.003 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/1.204, allocations: 486 kB / 1.004 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/1.206, allocations: 1.131 MB / 1.005 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/1.206, allocations: 81.89 kB / 1.005 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/1.206, allocations: 107.2 kB / 1.005 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/1.208, allocations: 1.151 MB / 1.006 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/1.208, allocations: 4.812 kB / 1.006 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.208, allocations: 48.5 kB / 1.006 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-05/1.208, allocations: 53.64 kB / 1.006 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/1.21, allocations: 1.071 MB / 1.007 GB, free: 15.55 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.005514/1.215, allocations: 4.186 MB / 1.011 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/1.216, allocations: 0.7852 MB / 1.012 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/1.217, allocations: 483.4 kB / 1.012 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003973/1.217, allocations: 292.9 kB / 1.013 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.217, allocations: 53.47 kB / 1.013 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=83): time 4.118e-06/1.217, allocations: 0 / 1.013 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=89): time 0.005088/1.222, allocations: 2.846 MB / 1.016 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/1.222, allocations: 65.44 kB / 1.016 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/1.224, allocations: 0.9801 MB / 1.017 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.399e-05/1.224, allocations: 44.48 kB / 1.017 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/1.224, allocations: 0.5366 MB / 1.017 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/1.224, allocations: 317.4 kB / 1.017 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/1.224, allocations: 156 kB / 1.018 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.225, allocations: 339 kB / 1.018 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/1.225, allocations: 340.7 kB / 1.018 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/1.226, allocations: 487.6 kB / 1.019 GB, free: 11.72 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.005337/1.231, allocations: 3.045 MB / 1.022 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.231, allocations: 0.8125 kB / 1.022 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001384/1.232, allocations: 1.007 MB / 1.023 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.232, allocations: 8.625 kB / 1.023 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.232, allocations: 5.906 kB / 1.023 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.232, allocations: 9.5 kB / 1.023 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/1.233, allocations: 181.8 kB / 1.023 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.233, allocations: 8.875 kB / 1.023 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009758/1.234, allocations: 30.95 kB / 1.023 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/1.234, allocations: 32.59 kB / 1.023 GB, free: 11.16 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.0005673/1.235, allocations: 389 kB / 1.023 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/1.235, allocations: 123.1 kB / 1.023 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/1.235, allocations: 153.1 kB / 1.024 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/1.235, allocations: 7.031 kB / 1.024 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/1.235, allocations: 4.156 kB / 1.024 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/1.237, allocations: 1.089 MB / 1.025 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/1.241, allocations: 3.048 MB / 1.028 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/1.241, allocations: 20.36 kB / 1.028 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/1.242, allocations: 167.7 kB / 1.028 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003133/1.242, allocations: 97.91 kB / 1.028 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/1.242, allocations: 30.78 kB / 1.028 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/1.244, allocations: 3.09 MB / 1.031 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.244, allocations: 12.72 kB / 1.031 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/1.246, allocations: 1.738 MB / 1.033 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005684/1.247, allocations: 303.9 kB / 1.033 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/1.247, allocations: 32.7 kB / 1.033 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008669/1.248, allocations: 41.86 kB / 1.033 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.248, allocations: 87.84 kB / 1.033 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-05/1.248, allocations: 51.33 kB / 1.033 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000857/1.249, allocations: 0.6933 MB / 1.034 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.249, allocations: 0 / 1.034 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001032/1.25, allocations: 384 kB / 1.034 GB, free: 5.473 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.0004915/1.251, allocations: 233.6 kB / 1.034 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001193/1.252, allocations: 0.8444 MB / 1.035 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.252, allocations: 2.562 kB / 1.035 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008337/1.253, allocations: 0.6679 MB / 1.036 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/1.256, allocations: 0.9209 MB / 1.037 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/1.26, allocations: 2.844 MB / 1.04 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000809/1.261, allocations: 1.237 MB / 1.041 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/1.261, allocations: 105.2 kB / 1.041 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of SimCode: time 1.443e-06/1.261, allocations: 4 kB / 1.041 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of Templates: time 0.03954/1.301, allocations: 27.43 MB / 1.068 GB, free: 8.113 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)