Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001099/0.001099, allocations: 192.1 kB / 16.13 MB, free: 6.66 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 286.6 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9597/0.9597, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002537, allocations: 94.55 kB / 0.5945 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2231, allocations: 86.98 MB / 0.6794 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.5337/0.7568, allocations: 179.6 MB / 0.8548 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008247/0.7651, allocations: 5.42 MB / 0.8601 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.7663, allocations: 31.22 kB / 0.8602 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.7674, allocations: 376.4 kB / 0.8605 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003972/0.7714, allocations: 1.581 MB / 0.8621 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.7734, allocations: 0.7128 MB / 0.8628 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003401/0.7768, allocations: 2.986 MB / 0.8657 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008907/0.7777, allocations: 0.5895 MB / 0.8663 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.779, allocations: 0.6331 MB / 0.8669 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.7811, allocations: 0.7094 MB / 0.8676 GB, free: 68 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.7813, allocations: 35.06 kB / 0.8676 GB, free: 68 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003432/0.7847, allocations: 1.616 MB / 0.8692 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.7851, allocations: 275.8 kB / 0.8694 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005679/0.7857, allocations: 429.1 kB / 0.8698 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.7881, allocations: 1.705 MB / 0.8715 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.7881, allocations: 4 kB / 0.8715 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.12e-07/0.7881, allocations: 0 / 0.8715 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.7881, allocations: 2.406 kB / 0.8715 GB, free: 13.62 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001904/0.79, allocations: 1.177 MB / 0.8727 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.7901, allocations: 10.62 kB / 0.8727 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.792, allocations: 279.2 kB / 0.8729 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.793, allocations: 0.6637 MB / 0.8736 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.7931, allocations: 54.28 kB / 0.8736 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.731e-05/0.7932, allocations: 64.22 kB / 0.8737 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.7942, allocations: 0.5801 MB / 0.8743 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.7943, allocations: 0 / 0.8743 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/0.7943, allocations: 23.91 kB / 0.8743 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.7944, allocations: 31.05 kB / 0.8743 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000872/0.7952, allocations: 0.5046 MB / 0.8748 GB, free: 11.36 MB / 0.5919 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.003181/0.7984, allocations: 2.379 MB / 0.8771 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007826/0.7992, allocations: 428.6 kB / 0.8775 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.7996, allocations: 224.9 kB / 0.8778 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.7998, allocations: 100.2 kB / 0.8779 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.7998, allocations: 41.22 kB / 0.8779 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.7998, allocations: 0 / 0.8779 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.002862/0.8027, allocations: 1.433 MB / 0.8793 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.8027, allocations: 57.09 kB / 0.8794 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.8033, allocations: 0.5425 MB / 0.8799 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.8034, allocations: 36.23 kB / 0.8799 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.8036, allocations: 326.2 kB / 0.8802 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.8038, allocations: 172 kB / 0.8804 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.8039, allocations: 92.09 kB / 0.8805 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.8041, allocations: 375.6 kB / 0.8808 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.8044, allocations: 174.3 kB / 0.881 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.8048, allocations: 266.2 kB / 0.8813 GB, free: 6.414 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/0.808, allocations: 1.439 MB / 0.8827 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8081, allocations: 6.375 kB / 0.8827 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008946/0.809, allocations: 0.5243 MB / 0.8832 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.809, allocations: 4.688 kB / 0.8832 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.809, allocations: 2.625 kB / 0.8832 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.809, allocations: 2.438 kB / 0.8832 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.8094, allocations: 95.25 kB / 0.8833 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.8094, allocations: 9.172 kB / 0.8833 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006872/0.8101, allocations: 42.36 kB / 0.8833 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.8102, allocations: 16.44 kB / 0.8833 GB, free: 5.23 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0003535/0.8105, allocations: 256.4 kB / 0.8836 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.8107, allocations: 71.17 kB / 0.8837 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.8108, allocations: 82.98 kB / 0.8837 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.8108, allocations: 4.969 kB / 0.8837 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.8109, allocations: 0 / 0.8837 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007164/0.8116, allocations: 0.508 MB / 0.8842 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.814, allocations: 1.581 MB / 0.8858 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.814, allocations: 4.906 kB / 0.8858 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.8146, allocations: 123.1 kB / 0.8859 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.8146, allocations: 4.938 kB / 0.8859 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.8146, allocations: 22.22 kB / 0.8859 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.8147, allocations: 11.81 kB / 0.8859 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.8147, allocations: 4.312 kB / 0.8859 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.816, allocations: 0.9059 MB / 0.8868 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.8164, allocations: 201 kB / 0.887 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.981e-05/0.8165, allocations: 19.34 kB / 0.887 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005693/0.817, allocations: 37.64 kB / 0.8871 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.8171, allocations: 45.3 kB / 0.8871 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.8172, allocations: 33.73 kB / 0.8871 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004514/0.8176, allocations: 403.4 kB / 0.8875 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8176, allocations: 0 / 0.8875 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008103/0.8185, allocations: 203.1 kB / 0.8877 GB, free: 2.07 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.0004745/0.8189, allocations: 180.7 kB / 0.8879 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008116/0.8198, allocations: 442 kB / 0.8883 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.8198, allocations: 4 kB / 0.8883 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.8201, allocations: 235.8 kB / 0.8886 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/0.8231, allocations: 466.7 kB / 0.889 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.8268, allocations: 1.822 MB / 0.8908 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007841/0.8276, allocations: 0.9814 MB / 0.8917 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001064/0.8287, allocations: 161.9 kB / 0.8919 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.829, allocations: 55.44 kB / 0.8919 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of SimCode: time 9.92e-07/0.829, allocations: 0 / 0.8919 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of Templates: time 0.04126/0.8703, allocations: 14.15 MB / 0.9058 GB, free: 15.73 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)