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.001138/0.001138, allocations: 108.7 kB / 16.37 MB, free: 5.516 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.001288/0.001289, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 285.6 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9007/0.9007, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 97.75 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1673, allocations: 86.98 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.4504/0.6177, allocations: 181.9 MB / 0.8592 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008158/0.6259, allocations: 5.341 MB / 0.8644 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.627, allocations: 35.75 kB / 0.8645 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.6281, allocations: 437.4 kB / 0.8649 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004607/0.6328, allocations: 1.683 MB / 0.8665 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.6354, allocations: 0.8022 MB / 0.8673 GB, free: 256 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0039/0.6393, allocations: 2.201 MB / 0.8694 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.6404, allocations: 0.6846 MB / 0.8701 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.6417, allocations: 0.7471 MB / 0.8708 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.6433, allocations: 0.6865 MB / 0.8715 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.6434, allocations: 76 kB / 0.8716 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.6463, allocations: 1.391 MB / 0.8729 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003804/0.6467, allocations: 327.1 kB / 0.8733 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006025/0.6473, allocations: 469.9 kB / 0.8737 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002494/0.6498, allocations: 1.659 MB / 0.8753 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6498, allocations: 4 kB / 0.8753 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6498, allocations: 0 / 0.8753 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.6498, allocations: 0 / 0.8753 GB, free: 8.012 MB / 0.6387 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.001694/0.6515, allocations: 1.184 MB / 0.8765 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.6516, allocations: 8.031 kB / 0.8765 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.6533, allocations: 278.6 kB / 0.8768 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.6545, allocations: 0.7022 MB / 0.8774 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.6546, allocations: 49.25 kB / 0.8775 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.77e-05/0.6547, allocations: 60 kB / 0.8776 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009474/0.6556, allocations: 0.5765 MB / 0.8781 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.6556, allocations: 3.906 kB / 0.8781 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.6557, allocations: 28 kB / 0.8781 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.6557, allocations: 29.23 kB / 0.8782 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/0.6566, allocations: 0.5048 MB / 0.8787 GB, free: 4.5 MB / 0.6387 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.003062/0.6596, allocations: 2.369 MB / 0.881 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007548/0.6604, allocations: 427.7 kB / 0.8814 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.6607, allocations: 230.7 kB / 0.8816 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.661, allocations: 105.1 kB / 0.8817 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.661, allocations: 38.5 kB / 0.8817 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 3.606e-06/0.661, allocations: 7.984 kB / 0.8818 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.002799/0.6638, allocations: 1.429 MB / 0.8831 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.6639, allocations: 59.84 kB / 0.8832 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000599/0.6645, allocations: 0.5343 MB / 0.8837 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.6645, allocations: 37.7 kB / 0.8838 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.6647, allocations: 332.6 kB / 0.8841 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.6649, allocations: 169.5 kB / 0.8842 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.6651, allocations: 94.25 kB / 0.8843 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.6652, allocations: 374.7 kB / 0.8847 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.6655, allocations: 177 kB / 0.8849 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.6659, allocations: 260.8 kB / 0.8851 GB, free: 13.56 MB / 0.6544 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.003187/0.6691, allocations: 1.44 MB / 0.8865 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6691, allocations: 0 / 0.8865 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000844/0.6699, allocations: 0.5226 MB / 0.887 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.67, allocations: 11.92 kB / 0.887 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.67, allocations: 4 kB / 0.887 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.67, allocations: 4 kB / 0.887 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.6704, allocations: 96.53 kB / 0.8871 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.6704, allocations: 4.156 kB / 0.8871 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.671, allocations: 23.89 kB / 0.8872 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.671, allocations: 16 kB / 0.8872 GB, free: 11.38 MB / 0.6544 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.0003331/0.6714, allocations: 253.8 kB / 0.8874 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.6715, allocations: 67.25 kB / 0.8875 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.6716, allocations: 78.45 kB / 0.8876 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.6716, allocations: 8 kB / 0.8876 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6717, allocations: 0 / 0.8876 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006867/0.6723, allocations: 0.5106 MB / 0.8881 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.6746, allocations: 1.591 MB / 0.8896 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/0.6746, allocations: 8 kB / 0.8896 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.6751, allocations: 115.8 kB / 0.8897 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.6752, allocations: 4 kB / 0.8897 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.6752, allocations: 20 kB / 0.8898 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.6752, allocations: 15.86 kB / 0.8898 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.6752, allocations: 8 kB / 0.8898 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.6763, allocations: 0.9021 MB / 0.8907 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.6766, allocations: 196.3 kB / 0.8908 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.651e-05/0.6767, allocations: 23.98 kB / 0.8909 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/0.6772, allocations: 22.3 kB / 0.8909 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.6773, allocations: 47.83 kB / 0.8909 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.6774, allocations: 23.94 kB / 0.891 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004225/0.6778, allocations: 402.8 kB / 0.8913 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6778, allocations: 0 / 0.8913 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006159/0.6784, allocations: 196 kB / 0.8915 GB, free: 6.68 MB / 0.6544 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.0003848/0.6788, allocations: 183.2 kB / 0.8917 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007258/0.6796, allocations: 457.2 kB / 0.8921 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6796, allocations: 0 / 0.8921 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.6799, allocations: 228.6 kB / 0.8924 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.6818, allocations: 493.6 kB / 0.8928 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.6838, allocations: 1.543 MB / 0.8943 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.6843, allocations: 0.9811 MB / 0.8953 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004782/0.6848, allocations: 165.8 kB / 0.8955 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.685, allocations: 59.42 kB / 0.8955 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.685, allocations: 3.938 kB / 0.8955 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of Templates: time 0.0219/0.7069, allocations: 14.79 MB / 0.91 GB, free: 3.945 MB / 0.67 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)