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.008146/0.008146, allocations: 99.31 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.001932/0.001933, allocations: 186.3 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 278.5 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9513/0.9513, allocations: 169.2 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 100.2 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1626, allocations: 86.97 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.5506/0.7132, allocations: 181.9 MB / 0.944 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008396/0.7217, allocations: 5.358 MB / 0.9492 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.7229, allocations: 35.81 kB / 0.9492 GB, free: 7.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.7243, allocations: 441.4 kB / 0.9497 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.7289, allocations: 1.668 MB / 0.9513 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.731, allocations: 0.8066 MB / 0.9521 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002811/0.7338, allocations: 2.195 MB / 0.9542 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.7349, allocations: 0.6917 MB / 0.9549 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.7366, allocations: 0.7627 MB / 0.9557 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.7385, allocations: 0.6827 MB / 0.9563 GB, free: 264 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.7386, allocations: 76 kB / 0.9564 GB, free: 188 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002907/0.7415, allocations: 1.395 MB / 0.9578 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004187/0.742, allocations: 323.1 kB / 0.9581 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005993/0.7426, allocations: 465.9 kB / 0.9585 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003001/0.7456, allocations: 1.667 MB / 0.9601 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7456, allocations: 0 / 0.9601 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7456, allocations: 0 / 0.9601 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.7456, allocations: 0 / 0.9601 GB, free: 12.34 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.002221/0.7479, allocations: 1.195 MB / 0.9613 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.748, allocations: 8.031 kB / 0.9613 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.7498, allocations: 266.8 kB / 0.9616 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.7512, allocations: 0.7099 MB / 0.9623 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.7512, allocations: 49.23 kB / 0.9623 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.963e-05/0.7513, allocations: 60 kB / 0.9624 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.7524, allocations: 0.5843 MB / 0.9629 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.7525, allocations: 4 kB / 0.9629 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/0.7525, allocations: 31.92 kB / 0.963 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.7526, allocations: 21.31 kB / 0.963 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008754/0.7534, allocations: 0.5009 MB / 0.9635 GB, free: 8.82 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.003385/0.7568, allocations: 2.373 MB / 0.9658 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008171/0.7577, allocations: 430.8 kB / 0.9662 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.758, allocations: 224.5 kB / 0.9664 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.7582, allocations: 105 kB / 0.9665 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.7583, allocations: 38.56 kB / 0.9666 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 4.789e-06/0.7583, allocations: 3.984 kB / 0.9666 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.002891/0.7612, allocations: 1.439 MB / 0.968 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.7613, allocations: 55.84 kB / 0.968 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006115/0.7619, allocations: 0.5383 MB / 0.9685 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.7619, allocations: 37.64 kB / 0.9686 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.7622, allocations: 328.7 kB / 0.9689 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.7624, allocations: 169.5 kB / 0.9691 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.7626, allocations: 94.16 kB / 0.9691 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.7627, allocations: 378.7 kB / 0.9695 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.763, allocations: 173 kB / 0.9697 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.7634, allocations: 254.2 kB / 0.9699 GB, free: 1.879 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.00348/0.7669, allocations: 1.446 MB / 0.9713 GB, free: 392 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7669, allocations: 0 / 0.9713 GB, free: 392 kB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009093/0.7678, allocations: 0.5305 MB / 0.9718 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.7679, allocations: 4 kB / 0.9718 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.7679, allocations: 3.938 kB / 0.9718 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.7679, allocations: 4 kB / 0.9719 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.7683, allocations: 96.06 kB / 0.9719 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.7683, allocations: 4 kB / 0.9719 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.7689, allocations: 16.73 kB / 0.972 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.7689, allocations: 16 kB / 0.972 GB, free: 15.7 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.0003558/0.7693, allocations: 258.2 kB / 0.9722 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.7694, allocations: 71.16 kB / 0.9723 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.7696, allocations: 74.45 kB / 0.9724 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.7696, allocations: 4 kB / 0.9724 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.7696, allocations: 11.94 kB / 0.9724 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007284/0.7704, allocations: 0.5105 MB / 0.9729 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.7727, allocations: 1.589 MB / 0.9744 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.7727, allocations: 4 kB / 0.9744 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/0.7732, allocations: 111.8 kB / 0.9745 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.7732, allocations: 8 kB / 0.9745 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.7733, allocations: 19.92 kB / 0.9746 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/0.7733, allocations: 13.11 kB / 0.9746 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.7733, allocations: 4 kB / 0.9746 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.7745, allocations: 0.9073 MB / 0.9755 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.7747, allocations: 196.3 kB / 0.9757 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.96e-05/0.7748, allocations: 19.98 kB / 0.9757 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.7754, allocations: 18.03 kB / 0.9757 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.7755, allocations: 47.83 kB / 0.9757 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.7755, allocations: 31.92 kB / 0.9758 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004381/0.7759, allocations: 390.8 kB / 0.9761 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.776, allocations: 0 / 0.9761 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006685/0.7766, allocations: 204 kB / 0.9763 GB, free: 11 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.000451/0.7771, allocations: 188.7 kB / 0.9765 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007968/0.7779, allocations: 445.2 kB / 0.9769 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.7779, allocations: 4 kB / 0.9769 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.7783, allocations: 237.4 kB / 0.9772 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.7804, allocations: 0.4909 MB / 0.9777 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.7828, allocations: 1.543 MB / 0.9792 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.7834, allocations: 0.9733 MB / 0.9801 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005021/0.7839, allocations: 165.8 kB / 0.9803 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.7841, allocations: 63.44 kB / 0.9803 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.7841, allocations: 0 / 0.9803 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of Templates: time 0.02438/0.8085, allocations: 15.16 MB / 0.9951 GB, free: 7.895 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)