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.006129/0.006129, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001349/0.001349, allocations: 195.8 kB / 16.67 MB, free: 5.977 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002209/0.002209, allocations: 275 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9294/0.9294, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 99.86 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1783, allocations: 86.98 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.536/0.7144, allocations: 181.9 MB / 0.944 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007947/0.7224, allocations: 5.357 MB / 0.9492 GB, free: 7.52 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007981/0.7232, allocations: 35.81 kB / 0.9493 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.7243, allocations: 445.3 kB / 0.9497 GB, free: 7.047 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003705/0.7281, allocations: 1.668 MB / 0.9513 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.7299, allocations: 0.8033 MB / 0.9521 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002579/0.7325, allocations: 2.195 MB / 0.9542 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008524/0.7333, allocations: 0.6955 MB / 0.9549 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.7344, allocations: 0.7511 MB / 0.9557 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.7359, allocations: 0.6859 MB / 0.9563 GB, free: 252 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.7361, allocations: 72 kB / 0.9564 GB, free: 180 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.7386, allocations: 1.403 MB / 0.9578 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.7389, allocations: 327.1 kB / 0.9581 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.7394, allocations: 465.9 kB / 0.9585 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.7416, allocations: 1.671 MB / 0.9601 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7416, allocations: 0 / 0.9601 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7416, allocations: 0 / 0.9601 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.7416, allocations: 0 / 0.9601 GB, free: 12.32 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.001638/0.7433, allocations: 1.182 MB / 0.9613 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7433, allocations: 15.97 kB / 0.9613 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.7451, allocations: 270.7 kB / 0.9616 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.7462, allocations: 0.7155 MB / 0.9623 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/0.7462, allocations: 45.25 kB / 0.9623 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.782e-05/0.7463, allocations: 60 kB / 0.9624 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/0.7473, allocations: 0.5804 MB / 0.9629 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.7473, allocations: 4 kB / 0.9629 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.7474, allocations: 27.98 kB / 0.963 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.7474, allocations: 25.3 kB / 0.963 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008335/0.7482, allocations: 0.5009 MB / 0.9635 GB, free: 8.805 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.002988/0.7512, allocations: 2.377 MB / 0.9658 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/0.752, allocations: 430.8 kB / 0.9662 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.7524, allocations: 216.8 kB / 0.9664 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.7525, allocations: 97.09 kB / 0.9665 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.7526, allocations: 42.56 kB / 0.9666 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 3.476e-06/0.7526, allocations: 0 / 0.9666 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.002687/0.7553, allocations: 1.439 MB / 0.968 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.7553, allocations: 55.84 kB / 0.968 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/0.7559, allocations: 0.5383 MB / 0.9685 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.756, allocations: 37.7 kB / 0.9686 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.7562, allocations: 324.7 kB / 0.9689 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.7563, allocations: 169.5 kB / 0.969 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.7565, allocations: 94.16 kB / 0.9691 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.7566, allocations: 370.7 kB / 0.9695 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.7569, allocations: 181 kB / 0.9697 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.7572, allocations: 256.8 kB / 0.9699 GB, free: 1.867 MB / 0.7169 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.003253/0.7605, allocations: 1.452 MB / 0.9713 GB, free: 376 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7605, allocations: 0 / 0.9713 GB, free: 376 kB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008169/0.7613, allocations: 0.5227 MB / 0.9718 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.7614, allocations: 11.98 kB / 0.9718 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.7614, allocations: 0 / 0.9718 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.7614, allocations: 4 kB / 0.9719 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.7618, allocations: 91.91 kB / 0.9719 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.7618, allocations: 4 kB / 0.9719 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.7624, allocations: 20.14 kB / 0.972 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.7625, allocations: 20 kB / 0.972 GB, free: 15.68 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.000299/0.7628, allocations: 259.9 kB / 0.9722 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.7629, allocations: 67.16 kB / 0.9723 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.763, allocations: 82.45 kB / 0.9724 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.763, allocations: 4 kB / 0.9724 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.7631, allocations: 0.875 kB / 0.9724 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000701/0.7638, allocations: 0.5144 MB / 0.9729 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.766, allocations: 1.581 MB / 0.9744 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.766, allocations: 12.12 kB / 0.9744 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005281/0.7665, allocations: 107.9 kB / 0.9745 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.7665, allocations: 8 kB / 0.9745 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.7666, allocations: 20.44 kB / 0.9746 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.7666, allocations: 15.92 kB / 0.9746 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7666, allocations: 4 kB / 0.9746 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.7678, allocations: 0.9069 MB / 0.9755 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.768, allocations: 197.5 kB / 0.9757 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/0.7681, allocations: 15.98 kB / 0.9757 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.7686, allocations: 18.03 kB / 0.9757 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.7687, allocations: 51.83 kB / 0.9757 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.7688, allocations: 23.94 kB / 0.9758 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004375/0.7692, allocations: 398.8 kB / 0.9761 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7692, allocations: 0 / 0.9761 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000654/0.7699, allocations: 204 kB / 0.9763 GB, free: 10.98 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.0004002/0.7703, allocations: 192.9 kB / 0.9765 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007267/0.771, allocations: 441.2 kB / 0.9769 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.771, allocations: 4.312 kB / 0.9769 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.7714, allocations: 240.1 kB / 0.9772 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.7733, allocations: 0.4883 MB / 0.9777 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.7755, allocations: 1.544 MB / 0.9792 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.776, allocations: 0.9733 MB / 0.9801 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004705/0.7764, allocations: 157.9 kB / 0.9803 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.7766, allocations: 59.42 kB / 0.9803 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.7766, allocations: 0 / 0.9803 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of Templates: time 0.02225/0.7989, allocations: 15.16 MB / 0.9951 GB, free: 7.875 MB / 0.7481 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)