Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 91.44 kB / 15.06 MB, free: 1.078 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.001428/0.001429, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 266.6 kB / 291.4 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9356/0.9356, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003901, allocations: 22.64 kB / 0.598 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1347, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4688/0.6035, allocations: 221.3 MB / 0.9006 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01884/0.6224, allocations: 14.91 MB / 0.9152 GB, free: 4 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.6242, allocations: 71.5 kB / 0.9152 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.6263, allocations: 0.7919 MB / 0.916 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006753/0.633, allocations: 2.843 MB / 0.9188 GB, free: 284 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.6365, allocations: 1.374 MB / 0.9201 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006438/0.6429, allocations: 6.256 MB / 0.9262 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.6447, allocations: 1.272 MB / 0.9275 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004392/0.6491, allocations: 2.163 MB / 0.9296 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.6514, allocations: 1.65 MB / 0.9312 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.6516, allocations: 84 kB / 0.9313 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.655, allocations: 1.508 MB / 0.9328 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006843/0.6557, allocations: 0.6698 MB / 0.9334 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.6562, allocations: 444.6 kB / 0.9338 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.6587, allocations: 2.439 MB / 0.9362 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6588, allocations: 4 kB / 0.9362 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6588, allocations: 0 / 0.9362 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.527e-05/0.6588, allocations: 0 / 0.9362 GB, free: 14.36 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.003395/0.6622, allocations: 2.133 MB / 0.9383 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.6622, allocations: 12.03 kB / 0.9383 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/0.665, allocations: 0.501 MB / 0.9388 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.6669, allocations: 1.223 MB / 0.94 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.6671, allocations: 174.2 kB / 0.9402 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.6673, allocations: 159.9 kB / 0.9403 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/0.67, allocations: 1.734 MB / 0.942 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.6701, allocations: 7.938 kB / 0.942 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.6702, allocations: 63.98 kB / 0.9421 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.458e-05/0.6703, allocations: 58.69 kB / 0.9421 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.6727, allocations: 1.388 MB / 0.9435 GB, free: 6.707 MB / 0.6544 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.008233/0.681, allocations: 8.21 MB / 0.9515 GB, free: 13.8 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.6825, allocations: 0.9094 MB / 0.9524 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008694/0.6834, allocations: 0.5396 MB / 0.9529 GB, free: 12.35 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005725/0.684, allocations: 340.4 kB / 0.9533 GB, free: 11.96 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.684, allocations: 43.56 kB / 0.9533 GB, free: 11.91 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 2.575e-06/0.684, allocations: 4 kB / 0.9533 GB, free: 11.91 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.00635/0.6904, allocations: 3.163 MB / 0.9564 GB, free: 8.691 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.6904, allocations: 68.34 kB / 0.9565 GB, free: 8.613 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.6918, allocations: 1.247 MB / 0.9577 GB, free: 7.359 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.868e-05/0.6919, allocations: 49.7 kB / 0.9577 GB, free: 7.305 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005597/0.6925, allocations: 0.8093 MB / 0.9585 GB, free: 6.484 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.6928, allocations: 366.7 kB / 0.9589 GB, free: 6.121 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.6928, allocations: 20 kB / 0.9589 GB, free: 6.102 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.693, allocations: 365.9 kB / 0.9592 GB, free: 5.738 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007982/0.6938, allocations: 438.4 kB / 0.9596 GB, free: 5.309 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.6948, allocations: 0.8183 MB / 0.9604 GB, free: 4.332 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/0.6958, allocations: 0.569 MB / 0.961 GB, free: 3.766 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6958, allocations: 0 / 0.961 GB, free: 3.766 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002258/0.698, allocations: 1.406 MB / 0.9624 GB, free: 2.352 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.6982, allocations: 365.5 kB / 0.9627 GB, free: 1.863 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.6983, allocations: 8 kB / 0.9627 GB, free: 1.855 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.6983, allocations: 16 kB / 0.9627 GB, free: 1.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.6994, allocations: 279.6 kB / 0.963 GB, free: 1.566 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/0.6995, allocations: 23.89 kB / 0.963 GB, free: 1.543 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.7008, allocations: 173.1 kB / 0.9632 GB, free: 1.375 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-05/0.7009, allocations: 55.98 kB / 0.9633 GB, free: 1.32 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.261e-06/0.7009, allocations: 4 kB / 0.9633 GB, free: 1.316 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002031/0.7029, allocations: 1.234 MB / 0.9645 GB, free: 84 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.703, allocations: 8.547 kB / 0.9645 GB, free: 76 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.703, allocations: 16 kB / 0.9645 GB, free: 60 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.7041, allocations: 279.5 kB / 0.9648 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.7041, allocations: 19.94 kB / 0.9648 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.7053, allocations: 179.6 kB / 0.9649 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-05/0.7055, allocations: 55.94 kB / 0.965 GB, free: 15.54 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006652/0.7061, allocations: 0.5084 MB / 0.9655 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.7063, allocations: 162 kB / 0.9656 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.7084, allocations: 1.178 MB / 0.9668 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.7085, allocations: 8 kB / 0.9668 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7085, allocations: 7.938 kB / 0.9668 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001625/0.7101, allocations: 1.091 MB / 0.9679 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/0.7143, allocations: 2.797 MB / 0.9706 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.7143, allocations: 3.938 kB / 0.9706 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.7155, allocations: 254.3 kB / 0.9709 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.7155, allocations: 7.938 kB / 0.9709 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/0.7156, allocations: 24 kB / 0.9709 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.7156, allocations: 11.94 kB / 0.9709 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7156, allocations: 4 kB / 0.9709 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.7183, allocations: 1.789 MB / 0.9726 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.7188, allocations: 335 kB / 0.973 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.719, allocations: 24 kB / 0.973 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.7201, allocations: 143.6 kB / 0.9731 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.7202, allocations: 64.88 kB / 0.9732 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.004e-05/0.7203, allocations: 47.95 kB / 0.9732 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009937/0.7213, allocations: 0.827 MB / 0.974 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7213, allocations: 0 / 0.974 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001837/0.7232, allocations: 0.7656 MB / 0.9748 GB, free: 5.289 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005097/0.7237, allocations: 282.7 kB / 0.9751 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00285/0.7265, allocations: 1.744 MB / 0.9768 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.7266, allocations: 0 / 0.9768 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008469/0.7274, allocations: 0.5291 MB / 0.9773 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003972/0.7314, allocations: 0.9762 MB / 0.9782 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/0.7367, allocations: 4.197 MB / 0.9823 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009581/0.7377, allocations: 1.445 MB / 0.9837 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001911/0.7396, allocations: 0.5641 MB / 0.9843 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.7399, allocations: 131.4 kB / 0.9844 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of SimCode: time 4.4e-07/0.7399, allocations: 0 / 0.9844 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of Templates: time 0.04491/0.7849, allocations: 29.32 MB / 1.013 GB, free: 14.47 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)