Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9287/0.9287, allocations: 143.4 MB / 159.2 MB, free: 4.918 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 184.5 kB / 191.9 MB, free: 5.738 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 447.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 103.8 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 282.8 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 83.88 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3343, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.01834/0.3527, allocations: 26.12 MB / 0.7934 GB, free: 1.449 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.3631, allocations: 7.143 MB / 0.8004 GB, free: 10.29 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.3651, allocations: 31.75 kB / 0.8004 GB, free: 10.26 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.3664, allocations: 326.2 kB / 0.8007 GB, free: 9.941 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.3696, allocations: 1.023 MB / 0.8017 GB, free: 8.914 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.3725, allocations: 0.8382 MB / 0.8026 GB, free: 8.086 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003735/0.3762, allocations: 2.802 MB / 0.8053 GB, free: 5.277 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007488/0.377, allocations: 0.5115 MB / 0.8058 GB, free: 4.75 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009656/0.378, allocations: 0.6223 MB / 0.8064 GB, free: 4.125 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000681/0.3787, allocations: 0.5443 MB / 0.8069 GB, free: 3.578 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.05e-05/0.3787, allocations: 32 kB / 0.807 GB, free: 3.547 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.3805, allocations: 0.7834 MB / 0.8077 GB, free: 2.762 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.3807, allocations: 147.4 kB / 0.8079 GB, free: 2.617 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.3811, allocations: 346.2 kB / 0.8082 GB, free: 2.277 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.3826, allocations: 1.184 MB / 0.8094 GB, free: 1.09 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3827, allocations: 0 / 0.8094 GB, free: 1.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3827, allocations: 0 / 0.8094 GB, free: 1.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3827, allocations: 0 / 0.8094 GB, free: 1.09 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001865/0.3846, allocations: 1.04 MB / 0.8104 GB, free: 0 / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/0.3846, allocations: 12.02 kB / 0.8104 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.385, allocations: 88 kB / 0.8105 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.3863, allocations: 0.714 MB / 0.8112 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.3863, allocations: 36.94 kB / 0.8112 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.769e-05/0.3864, allocations: 47.91 kB / 0.8112 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007856/0.3872, allocations: 0.5001 MB / 0.8117 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.3872, allocations: 3.938 kB / 0.8117 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.3873, allocations: 23.94 kB / 0.8118 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.3873, allocations: 12 kB / 0.8118 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.3878, allocations: 319.7 kB / 0.8121 GB, free: 14.18 MB / 490.7 MB 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.003002/0.3908, allocations: 2.744 MB / 0.8148 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.3912, allocations: 202.4 kB / 0.8149 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3913, allocations: 102.7 kB / 0.815 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003416/0.3917, allocations: 344.5 kB / 0.8154 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.3917, allocations: 42.88 kB / 0.8154 GB, free: 10.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.3917, allocations: 0 / 0.8154 GB, free: 10.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005864/0.3923, allocations: 296.8 kB / 0.8157 GB, free: 10.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.3924, allocations: 59.41 kB / 0.8158 GB, free: 10.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000561/0.3929, allocations: 0.5029 MB / 0.8162 GB, free: 9.543 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.393, allocations: 33.7 kB / 0.8163 GB, free: 9.504 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.3932, allocations: 335.3 kB / 0.8166 GB, free: 9.172 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/0.3933, allocations: 86.83 kB / 0.8167 GB, free: 9.086 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3934, allocations: 81.59 kB / 0.8168 GB, free: 9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3936, allocations: 366.8 kB / 0.8171 GB, free: 8.633 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3937, allocations: 92.77 kB / 0.8172 GB, free: 8.539 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.394, allocations: 231.1 kB / 0.8174 GB, free: 8.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.3943, allocations: 338.5 kB / 0.8177 GB, free: 7.863 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3944, allocations: 0 / 0.8177 GB, free: 7.863 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005349/0.3949, allocations: 389.4 kB / 0.8181 GB, free: 7.477 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3949, allocations: 9.875 kB / 0.8181 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.3949, allocations: 4.562 kB / 0.8181 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.395, allocations: 8 kB / 0.8181 GB, free: 7.457 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.3952, allocations: 83.84 kB / 0.8182 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.3952, allocations: 7.984 kB / 0.8182 GB, free: 7.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.3956, allocations: 51.61 kB / 0.8183 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.3956, allocations: 24 kB / 0.8183 GB, free: 7.293 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003036/0.396, allocations: 244 kB / 0.8185 GB, free: 7.051 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002194/0.3962, allocations: 246.5 kB / 0.8188 GB, free: 6.746 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003496/0.3965, allocations: 330.9 kB / 0.8191 GB, free: 6.367 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.3966, allocations: 0 / 0.8191 GB, free: 6.367 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005112/0.3971, allocations: 388.6 kB / 0.8194 GB, free: 5.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.373e-06/0.3971, allocations: 8 kB / 0.8195 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3971, allocations: 4 kB / 0.8195 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/0.3971, allocations: 11.94 kB / 0.8195 GB, free: 5.957 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.3973, allocations: 76.41 kB / 0.8195 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3973, allocations: 11.92 kB / 0.8196 GB, free: 5.871 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.3977, allocations: 51.73 kB / 0.8196 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.3977, allocations: 16 kB / 0.8196 GB, free: 5.805 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0001183/0.3978, allocations: 204.1 kB / 0.8198 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.3979, allocations: 67.27 kB / 0.8199 GB, free: 5.531 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004406/0.3984, allocations: 275.7 kB / 0.8201 GB, free: 5.258 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.3984, allocations: 3.938 kB / 0.8201 GB, free: 5.254 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3984, allocations: 4 kB / 0.8201 GB, free: 5.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003287/0.3987, allocations: 383.8 kB / 0.8205 GB, free: 4.828 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.4001, allocations: 1.049 MB / 0.8215 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4001, allocations: 4 kB / 0.8215 GB, free: 3.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.4003, allocations: 55.91 kB / 0.8216 GB, free: 3.617 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4003, allocations: 4.281 kB / 0.8216 GB, free: 3.613 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.4003, allocations: 12 kB / 0.8216 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.4003, allocations: 8 kB / 0.8216 GB, free: 3.594 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4003, allocations: 0 / 0.8216 GB, free: 3.594 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.4028, allocations: 2.289 MB / 0.8239 GB, free: 1.137 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.403, allocations: 168.3 kB / 0.824 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-05/0.4031, allocations: 11.92 kB / 0.824 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.4034, allocations: 31.95 kB / 0.8241 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.4035, allocations: 19.97 kB / 0.8241 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.4035, allocations: 19.98 kB / 0.8241 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004069/0.4039, allocations: 382.8 kB / 0.8245 GB, free: 0.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.404, allocations: 0 / 0.8245 GB, free: 0.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001276/0.4052, allocations: 483.3 kB / 0.8249 GB, free: 28 kB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006607/0.4059, allocations: 307.3 kB / 0.8252 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005997/0.4065, allocations: 404.5 kB / 0.8256 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4065, allocations: 0 / 0.8256 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.4067, allocations: 107.7 kB / 0.8257 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.4085, allocations: 376.1 kB / 0.8261 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.4103, allocations: 1.512 MB / 0.8275 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.4108, allocations: 0.8983 MB / 0.8284 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000563/0.4114, allocations: 149.1 kB / 0.8286 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.4115, allocations: 59.42 kB / 0.8286 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of SimCode: time 3.31e-07/0.4115, allocations: 0 / 0.8286 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.02118/0.4327, allocations: 12.63 MB / 0.8409 GB, free: 15.68 MB / 0.5105 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)