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.001092/0.001092, allocations: 109.7 kB / 15.99 MB, free: 5.891 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.001229/0.001229, allocations: 194.9 kB / 16.91 MB, free: 5.746 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.273/1.273, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 290.3 kB / 291 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9056/0.9056, allocations: 169.2 MB / 0.4985 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 88.16 kB / 0.5953 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.154, allocations: 86.97 MB / 0.6803 GB, free: 1.023 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.4868/0.6409, allocations: 179.5 MB / 0.8555 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008843/0.6498, allocations: 5.326 MB / 0.8607 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.6513, allocations: 32.62 kB / 0.8607 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.6525, allocations: 386.3 kB / 0.8611 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004368/0.6569, allocations: 1.576 MB / 0.8626 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.6588, allocations: 0.7343 MB / 0.8634 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002772/0.6616, allocations: 2.195 MB / 0.8655 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009137/0.6625, allocations: 0.6823 MB / 0.8662 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.6638, allocations: 0.7474 MB / 0.8669 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001874/0.6657, allocations: 0.7224 MB / 0.8676 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.6659, allocations: 75.47 kB / 0.8677 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.6685, allocations: 1.462 MB / 0.8691 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.6688, allocations: 323.8 kB / 0.8694 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000511/0.6693, allocations: 474.1 kB / 0.8699 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.671, allocations: 1.251 MB / 0.8711 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.671, allocations: 4 kB / 0.8711 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.293e-06/0.671, allocations: 0 / 0.8711 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.949e-05/0.6711, allocations: 0 / 0.8711 GB, free: 14.32 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.001696/0.6728, allocations: 1.185 MB / 0.8723 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.6728, allocations: 9.656 kB / 0.8723 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.6746, allocations: 269.7 kB / 0.8725 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009696/0.6756, allocations: 0.6711 MB / 0.8732 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.6757, allocations: 46.91 kB / 0.8732 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.969e-05/0.6758, allocations: 61.84 kB / 0.8733 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009911/0.6767, allocations: 0.5829 MB / 0.8738 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.6768, allocations: 0 / 0.8738 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.832e-05/0.6768, allocations: 24.47 kB / 0.8739 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.6769, allocations: 25.75 kB / 0.8739 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008273/0.6777, allocations: 0.5034 MB / 0.8744 GB, free: 12.06 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.003115/0.6808, allocations: 2.383 MB / 0.8767 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007713/0.6816, allocations: 431.1 kB / 0.8771 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.682, allocations: 220.8 kB / 0.8773 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.6821, allocations: 100.2 kB / 0.8774 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.6822, allocations: 47.03 kB / 0.8775 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.585e-06/0.6822, allocations: 0 / 0.8775 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.00288/0.6851, allocations: 1.433 MB / 0.8789 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.6851, allocations: 59.28 kB / 0.8789 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/0.6857, allocations: 0.54 MB / 0.8795 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.6858, allocations: 32.58 kB / 0.8795 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.686, allocations: 332 kB / 0.8798 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.6862, allocations: 169.4 kB / 0.88 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.6864, allocations: 87.84 kB / 0.8801 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6865, allocations: 378.4 kB / 0.8804 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.6868, allocations: 173.9 kB / 0.8806 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.6872, allocations: 256.2 kB / 0.8808 GB, free: 7.121 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.003233/0.6904, allocations: 1.452 MB / 0.8822 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.6904, allocations: 0 / 0.8822 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008802/0.6913, allocations: 0.5261 MB / 0.8828 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.6913, allocations: 11.67 kB / 0.8828 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.6913, allocations: 4 kB / 0.8828 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.6914, allocations: 5.281 kB / 0.8828 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.6918, allocations: 93.69 kB / 0.8829 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.6918, allocations: 2.938 kB / 0.8829 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007621/0.6926, allocations: 43.94 kB / 0.8829 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.6926, allocations: 18.08 kB / 0.8829 GB, free: 5.926 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.0003962/0.693, allocations: 255.8 kB / 0.8832 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.6932, allocations: 69.78 kB / 0.8832 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.6933, allocations: 76.3 kB / 0.8833 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.6933, allocations: 5.281 kB / 0.8833 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.6934, allocations: 0 / 0.8833 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007346/0.6941, allocations: 0.5139 MB / 0.8838 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.6965, allocations: 1.592 MB / 0.8854 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.6965, allocations: 9.062 kB / 0.8854 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/0.6971, allocations: 111.8 kB / 0.8855 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.6971, allocations: 7.656 kB / 0.8855 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.6971, allocations: 17.77 kB / 0.8855 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.906e-06/0.6971, allocations: 11.62 kB / 0.8855 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.6971, allocations: 4.875 kB / 0.8855 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.6984, allocations: 0.911 MB / 0.8864 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.6987, allocations: 194.5 kB / 0.8866 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.249e-05/0.6988, allocations: 22.11 kB / 0.8866 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.6994, allocations: 38.89 kB / 0.8867 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.6995, allocations: 45.64 kB / 0.8867 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.6995, allocations: 25.25 kB / 0.8867 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004389/0.7, allocations: 395.9 kB / 0.8871 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7, allocations: 4 kB / 0.8871 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006723/0.7006, allocations: 200.8 kB / 0.8873 GB, free: 2.906 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.0004217/0.7011, allocations: 203.3 kB / 0.8875 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008721/0.7019, allocations: 479.5 kB / 0.888 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.702, allocations: 3.938 kB / 0.888 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.7023, allocations: 237 kB / 0.8882 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.7045, allocations: 490.2 kB / 0.8887 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.7071, allocations: 1.873 MB / 0.8905 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.7077, allocations: 0.9772 MB / 0.8914 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.7079, allocations: 55.44 kB / 0.8915 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/0.7079, allocations: 0 / 0.8915 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.01685/0.7248, allocations: 11.62 MB / 0.9028 GB, free: 3.266 MB / 0.6075 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)