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.001437/0.001437, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001635/0.001635, allocations: 193.1 kB / 16.25 MB, free: 6.617 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00199/0.00199, allocations: 283 kB / 290.4 MB, free: 2.047 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9568/0.9568, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 104 kB / 0.5947 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1828, allocations: 86.98 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.5853/0.7681, allocations: 179.5 MB / 0.8549 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007997/0.7762, allocations: 5.312 MB / 0.8601 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.7773, allocations: 43.84 kB / 0.8601 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.7785, allocations: 378.8 kB / 0.8605 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003844/0.7824, allocations: 1.58 MB / 0.862 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.7843, allocations: 0.7282 MB / 0.8627 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002638/0.7869, allocations: 2.192 MB / 0.8649 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000931/0.7879, allocations: 0.6812 MB / 0.8655 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.7891, allocations: 0.7497 MB / 0.8663 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.7908, allocations: 0.728 MB / 0.867 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.7909, allocations: 75.19 kB / 0.867 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.7935, allocations: 1.463 MB / 0.8685 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.7939, allocations: 323 kB / 0.8688 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.7943, allocations: 470.6 kB / 0.8692 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.7968, allocations: 1.745 MB / 0.8709 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7968, allocations: 0 / 0.8709 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.785e-06/0.7968, allocations: 0 / 0.8709 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.7968, allocations: 6.656 kB / 0.8709 GB, free: 14.03 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.001916/0.7987, allocations: 1.18 MB / 0.8721 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.7988, allocations: 10.09 kB / 0.8721 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/0.8006, allocations: 277 kB / 0.8724 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.8017, allocations: 0.6679 MB / 0.873 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.8018, allocations: 50.62 kB / 0.8731 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.8019, allocations: 61.88 kB / 0.8731 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.803, allocations: 0.5872 MB / 0.8737 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.803, allocations: 0 / 0.8737 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/0.8031, allocations: 20.69 kB / 0.8737 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.8032, allocations: 21.78 kB / 0.8737 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008436/0.804, allocations: 0.5001 MB / 0.8742 GB, free: 11.78 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.003121/0.8071, allocations: 2.385 MB / 0.8765 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007774/0.8079, allocations: 431.3 kB / 0.877 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.8083, allocations: 222.9 kB / 0.8772 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.8085, allocations: 108.1 kB / 0.8773 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.8085, allocations: 40.67 kB / 0.8773 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.555e-06/0.8085, allocations: 2.562 kB / 0.8773 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.00303/0.8115, allocations: 1.429 MB / 0.8787 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.8116, allocations: 60.75 kB / 0.8788 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006302/0.8123, allocations: 0.5386 MB / 0.8793 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.8123, allocations: 36.42 kB / 0.8793 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.8126, allocations: 330.5 kB / 0.8796 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.8127, allocations: 167.9 kB / 0.8798 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.8129, allocations: 89.53 kB / 0.8799 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.8131, allocations: 377.6 kB / 0.8803 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.8134, allocations: 174.1 kB / 0.8804 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.8138, allocations: 254.1 kB / 0.8807 GB, free: 6.836 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.003336/0.8171, allocations: 1.455 MB / 0.8821 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8172, allocations: 2.344 kB / 0.8821 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008786/0.818, allocations: 0.5247 MB / 0.8826 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.8181, allocations: 4.844 kB / 0.8826 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.8181, allocations: 3.219 kB / 0.8826 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.8181, allocations: 6.859 kB / 0.8826 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.8185, allocations: 91.5 kB / 0.8827 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.8185, allocations: 9.25 kB / 0.8827 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/0.8192, allocations: 42.59 kB / 0.8827 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.8193, allocations: 20.53 kB / 0.8828 GB, free: 5.637 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.0003527/0.8196, allocations: 259.5 kB / 0.883 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.8197, allocations: 68.06 kB / 0.8831 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.8199, allocations: 78.48 kB / 0.8832 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.8199, allocations: 10.62 kB / 0.8832 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.8199, allocations: 4.5 kB / 0.8832 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006889/0.8206, allocations: 0.5075 MB / 0.8837 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.8229, allocations: 1.589 MB / 0.8852 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.8229, allocations: 5.125 kB / 0.8852 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.8234, allocations: 118.4 kB / 0.8853 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.8234, allocations: 5.094 kB / 0.8853 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.8234, allocations: 22.11 kB / 0.8854 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.8234, allocations: 11.69 kB / 0.8854 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.8235, allocations: 4.406 kB / 0.8854 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.8246, allocations: 0.9096 MB / 0.8863 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.8248, allocations: 196.1 kB / 0.8865 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/0.8249, allocations: 20.02 kB / 0.8865 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/0.8255, allocations: 33.52 kB / 0.8865 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.8256, allocations: 51.83 kB / 0.8866 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.8257, allocations: 23.22 kB / 0.8866 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004176/0.8261, allocations: 399.1 kB / 0.887 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8261, allocations: 0 / 0.887 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006196/0.8267, allocations: 197.7 kB / 0.8871 GB, free: 2.617 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.000382/0.8271, allocations: 201.5 kB / 0.8873 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008359/0.8279, allocations: 475.4 kB / 0.8878 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.828, allocations: 4 kB / 0.8878 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.8283, allocations: 237 kB / 0.888 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.8304, allocations: 0.4907 MB / 0.8885 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.8328, allocations: 1.816 MB / 0.8903 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.8333, allocations: 0.9772 MB / 0.8912 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006252/0.834, allocations: 169.8 kB / 0.8914 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.8341, allocations: 63.44 kB / 0.8914 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.8341, allocations: 3.938 kB / 0.8915 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.02301/0.8572, allocations: 14.71 MB / 0.9058 GB, free: 15.71 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)