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.001468/0.001468, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 192.1 kB / 16.53 MB, free: 6.664 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 290.8 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.916/0.916, allocations: 169.3 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 97.09 kB / 0.5952 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1515, allocations: 86.98 MB / 0.6802 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.505/0.6566, allocations: 181.9 MB / 0.8578 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008796/0.6654, allocations: 5.355 MB / 0.863 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.6665, allocations: 34.66 kB / 0.863 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.6678, allocations: 438 kB / 0.8634 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003889/0.6717, allocations: 1.68 MB / 0.8651 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.6736, allocations: 0.791 MB / 0.8659 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002436/0.676, allocations: 2.196 MB / 0.868 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008568/0.6769, allocations: 0.6868 MB / 0.8687 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.678, allocations: 0.7378 MB / 0.8694 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.6797, allocations: 0.693 MB / 0.8701 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.6798, allocations: 75.53 kB / 0.8701 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.6829, allocations: 1.395 MB / 0.8715 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.6833, allocations: 323.6 kB / 0.8718 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.6837, allocations: 470.2 kB / 0.8723 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.6859, allocations: 1.643 MB / 0.8739 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6859, allocations: 0 / 0.8739 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6859, allocations: 0 / 0.8739 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.6859, allocations: 6.891 kB / 0.8739 GB, free: 11.62 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.00162/0.6876, allocations: 1.177 MB / 0.875 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.6876, allocations: 10.12 kB / 0.875 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.6893, allocations: 281 kB / 0.8753 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009397/0.6903, allocations: 0.6676 MB / 0.8759 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.6903, allocations: 46.5 kB / 0.876 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.562e-05/0.6904, allocations: 67.81 kB / 0.8761 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009302/0.6914, allocations: 0.5774 MB / 0.8766 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.6914, allocations: 0 / 0.8766 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.6915, allocations: 27.53 kB / 0.8766 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.6915, allocations: 25.14 kB / 0.8767 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008085/0.6923, allocations: 0.5023 MB / 0.8772 GB, free: 9.367 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.002946/0.6953, allocations: 2.39 MB / 0.8795 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007676/0.6961, allocations: 442.4 kB / 0.8799 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.6964, allocations: 221 kB / 0.8801 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.6966, allocations: 100.6 kB / 0.8802 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.6966, allocations: 41.02 kB / 0.8803 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.893e-06/0.6966, allocations: 5.844 kB / 0.8803 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.002623/0.6992, allocations: 1.423 MB / 0.8817 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.6993, allocations: 64.25 kB / 0.8817 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.6998, allocations: 0.5351 MB / 0.8822 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.6999, allocations: 36.48 kB / 0.8823 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.7001, allocations: 330 kB / 0.8826 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.7003, allocations: 170 kB / 0.8828 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.7004, allocations: 91.75 kB / 0.8828 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.7006, allocations: 373.3 kB / 0.8832 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.7008, allocations: 178.9 kB / 0.8834 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.7012, allocations: 262.2 kB / 0.8836 GB, free: 4.414 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.003188/0.7044, allocations: 1.442 MB / 0.885 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.7044, allocations: 0 / 0.885 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008028/0.7052, allocations: 0.5295 MB / 0.8855 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.7052, allocations: 7.438 kB / 0.8856 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7053, allocations: 5.922 kB / 0.8856 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.7053, allocations: 2.906 kB / 0.8856 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.7057, allocations: 93.28 kB / 0.8856 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.7057, allocations: 2.875 kB / 0.8857 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.7063, allocations: 21.52 kB / 0.8857 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.7063, allocations: 16.69 kB / 0.8857 GB, free: 3.238 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.0002959/0.7066, allocations: 261.4 kB / 0.8859 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.7067, allocations: 67.84 kB / 0.886 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.7069, allocations: 78.48 kB / 0.8861 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.7069, allocations: 8.812 kB / 0.8861 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.7069, allocations: 0 / 0.8861 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006726/0.7076, allocations: 0.5114 MB / 0.8866 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.7098, allocations: 1.594 MB / 0.8881 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7098, allocations: 3.438 kB / 0.8881 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/0.7103, allocations: 111.6 kB / 0.8883 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.7104, allocations: 11.81 kB / 0.8883 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.7104, allocations: 15.88 kB / 0.8883 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.7104, allocations: 11.36 kB / 0.8883 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.7104, allocations: 11.53 kB / 0.8883 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.7115, allocations: 0.8988 MB / 0.8892 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.7118, allocations: 204.4 kB / 0.8894 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.65e-05/0.7119, allocations: 18.2 kB / 0.8894 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000519/0.7124, allocations: 17.39 kB / 0.8894 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.7125, allocations: 53.55 kB / 0.8895 GB, free: 480 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.7125, allocations: 23.94 kB / 0.8895 GB, free: 456 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004403/0.713, allocations: 402.8 kB / 0.8899 GB, free: 56 kB / 0.5919 GB Notification: Performance of sort global known variables: time 2.5e-07/0.713, allocations: 0 / 0.8899 GB, free: 56 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000649/0.7137, allocations: 200 kB / 0.8901 GB, free: 15.86 MB / 0.6075 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.0004185/0.7141, allocations: 185.5 kB / 0.8902 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008209/0.7149, allocations: 482.2 kB / 0.8907 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7149, allocations: 4 kB / 0.8907 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.7153, allocations: 232.2 kB / 0.8909 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.7174, allocations: 491.9 kB / 0.8914 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.7197, allocations: 1.559 MB / 0.8929 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.7203, allocations: 0.9733 MB / 0.8939 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006052/0.7209, allocations: 169.8 kB / 0.894 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.7211, allocations: 59.44 kB / 0.8941 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of SimCode: time 1.523e-06/0.7211, allocations: 0 / 0.8941 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of Templates: time 0.02486/0.7459, allocations: 14.82 MB / 0.9086 GB, free: 13.06 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)