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.001221/0.001221, allocations: 110.5 kB / 16.38 MB, free: 6.004 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.001122/0.001122, allocations: 191.2 kB / 17.32 MB, free: 5.613 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 286.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9215/0.9215, allocations: 169.3 MB / 0.4989 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 99.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4229, allocations: 86.96 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1734/0.5964, allocations: 181.9 MB / 0.9446 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008187/0.6046, allocations: 5.37 MB / 0.9498 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009673/0.6056, allocations: 39.81 kB / 0.9499 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.6067, allocations: 437.4 kB / 0.9503 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.6103, allocations: 1.676 MB / 0.9519 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.6121, allocations: 0.8023 MB / 0.9527 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00238/0.6145, allocations: 2.195 MB / 0.9549 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008526/0.6153, allocations: 0.6876 MB / 0.9555 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.6164, allocations: 0.7394 MB / 0.9563 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.6178, allocations: 0.6855 MB / 0.9569 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.6179, allocations: 76 kB / 0.957 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4064/1.024, allocations: 1.392 MB / 0.9584 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005479/1.025, allocations: 318.3 kB / 0.9587 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009001/1.026, allocations: 471.7 kB / 0.9591 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004001/1.03, allocations: 1.67 MB / 0.9607 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.03, allocations: 1.125 kB / 0.9607 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/1.03, allocations: 0.6875 kB / 0.9607 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.313e-05/1.03, allocations: 0.7188 kB / 0.9607 GB, free: 5.109 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002285/1.032, allocations: 1.183 MB / 0.9619 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.032, allocations: 10 kB / 0.9619 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/1.034, allocations: 271.6 kB / 0.9622 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/1.035, allocations: 0.7059 MB / 0.9629 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/1.035, allocations: 47.34 kB / 0.9629 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/1.035, allocations: 62.48 kB / 0.963 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/1.037, allocations: 0.5869 MB / 0.9635 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/1.037, allocations: 0 / 0.9635 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/1.037, allocations: 27.53 kB / 0.9636 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/1.037, allocations: 22.69 kB / 0.9636 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008717/1.038, allocations: 0.5 MB / 0.9641 GB, free: 4.078 MB / 0.7169 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.003334/1.041, allocations: 2.372 MB / 0.9664 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/1.042, allocations: 430.7 kB / 0.9668 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/1.042, allocations: 219 kB / 0.967 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/1.042, allocations: 104.4 kB / 0.9671 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/1.042, allocations: 41.47 kB / 0.9671 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/1.042, allocations: 3.75 kB / 0.9671 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.002931/1.045, allocations: 1.439 MB / 0.9686 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/1.045, allocations: 56 kB / 0.9686 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/1.046, allocations: 0.538 MB / 0.9691 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/1.046, allocations: 35.27 kB / 0.9692 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/1.046, allocations: 334.3 kB / 0.9695 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/1.046, allocations: 168.3 kB / 0.9696 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/1.046, allocations: 88.56 kB / 0.9697 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.047, allocations: 371 kB / 0.9701 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/1.047, allocations: 174.7 kB / 0.9702 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/1.047, allocations: 260.5 kB / 0.9705 GB, free: 17.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: 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.003053/1.05, allocations: 1.445 MB / 0.9719 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.05, allocations: 3.688 kB / 0.9719 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007738/1.051, allocations: 0.53 MB / 0.9724 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.051, allocations: 5.469 kB / 0.9724 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.051, allocations: 7.781 kB / 0.9724 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.051, allocations: 4.453 kB / 0.9724 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/1.051, allocations: 96.17 kB / 0.9725 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.051, allocations: 2.719 kB / 0.9725 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/1.052, allocations: 17.8 kB / 0.9726 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/1.052, allocations: 17.56 kB / 0.9726 GB, free: 17.23 MB / 0.7325 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.0003562/1.053, allocations: 252 kB / 0.9728 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/1.053, allocations: 65.28 kB / 0.9729 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/1.053, allocations: 83.27 kB / 0.973 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.053, allocations: 11.62 kB / 0.973 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.053, allocations: 0 / 0.973 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006456/1.053, allocations: 0.5122 MB / 0.9735 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/1.056, allocations: 1.585 MB / 0.975 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.056, allocations: 5.562 kB / 0.975 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/1.056, allocations: 119.1 kB / 0.9751 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/1.056, allocations: 6.781 kB / 0.9751 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/1.056, allocations: 18.83 kB / 0.9752 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/1.056, allocations: 11.38 kB / 0.9752 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.056, allocations: 13.25 kB / 0.9752 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/1.057, allocations: 0.8914 MB / 0.9761 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/1.058, allocations: 201.2 kB / 0.9762 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-05/1.058, allocations: 16.06 kB / 0.9763 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005294/1.058, allocations: 24.84 kB / 0.9763 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/1.058, allocations: 48.81 kB / 0.9763 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/1.058, allocations: 28.33 kB / 0.9764 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004264/1.059, allocations: 394.5 kB / 0.9767 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.293e-06/1.059, allocations: 0 / 0.9767 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007105/1.059, allocations: 200.6 kB / 0.9769 GB, free: 15.88 MB / 0.7325 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.000425/1.06, allocations: 184.2 kB / 0.9771 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006917/1.061, allocations: 441.5 kB / 0.9775 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.061, allocations: 0.9688 kB / 0.9775 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003107/1.061, allocations: 239.8 kB / 0.9778 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/1.063, allocations: 496.3 kB / 0.9782 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/1.065, allocations: 1.595 MB / 0.9798 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/1.066, allocations: 0.9788 MB / 0.9807 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/1.066, allocations: 59.56 kB / 0.9808 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/1.066, allocations: 0 / 0.9808 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of Templates: time 0.01619/1.082, allocations: 11.61 MB / 0.9921 GB, free: 13.39 MB / 0.7325 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)