Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 106.9 kB / 16.36 MB, free: 6.305 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.001179/0.001179, allocations: 189.2 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 292.3 MB / 0.5496 GB, free: 17.38 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 72.45 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2376, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6456/0.8833, allocations: 190.6 MB / 0.9709 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008972/0.8923, allocations: 5.674 MB / 0.9764 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.8939, allocations: 35.81 kB / 0.9764 GB, free: 5.691 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.8956, allocations: 0.5786 MB / 0.977 GB, free: 5.109 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.9006, allocations: 1.828 MB / 0.9788 GB, free: 3.273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003258/0.9038, allocations: 1.184 MB / 0.98 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003969/0.9078, allocations: 2.913 MB / 0.9828 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.9092, allocations: 0.9472 MB / 0.9837 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.9111, allocations: 1.055 MB / 0.9848 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.9129, allocations: 0.9047 MB / 0.9856 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.9131, allocations: 108 kB / 0.9857 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.916, allocations: 1.434 MB / 0.9871 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004611/0.9165, allocations: 454.8 kB / 0.9876 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007421/0.9172, allocations: 0.6555 MB / 0.9882 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.9202, allocations: 2.135 MB / 0.9903 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9202, allocations: 3.938 kB / 0.9903 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9202, allocations: 0 / 0.9903 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.9202, allocations: 0 / 0.9903 GB, free: 7.477 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002378/0.9226, allocations: 1.495 MB / 0.9918 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.9227, allocations: 8.031 kB / 0.9918 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.9246, allocations: 318.2 kB / 0.9921 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.9259, allocations: 0.8427 MB / 0.9929 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.926, allocations: 66 kB / 0.993 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.9261, allocations: 84 kB / 0.993 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.9277, allocations: 0.9091 MB / 0.9939 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.9277, allocations: 3.938 kB / 0.9939 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.842e-05/0.9278, allocations: 36 kB / 0.994 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/0.9279, allocations: 35.25 kB / 0.994 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.9293, allocations: 0.8237 MB / 0.9948 GB, free: 2.766 MB / 0.7794 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.005189/0.9345, allocations: 3.493 MB / 0.9982 GB, free: 15.05 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/0.9353, allocations: 0.4935 MB / 0.9987 GB, free: 14.55 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/0.9357, allocations: 298 kB / 0.999 GB, free: 14.25 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.9359, allocations: 97.53 kB / 0.9991 GB, free: 14.14 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.9359, allocations: 39 kB / 0.9991 GB, free: 14.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 9.227e-06/0.936, allocations: 0 / 0.9991 GB, free: 14.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=49): time 0.004284/0.9402, allocations: 1.926 MB / 1.001 GB, free: 12.07 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.9403, allocations: 56.41 kB / 1.001 GB, free: 12 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.9413, allocations: 0.7979 MB / 1.002 GB, free: 11.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.9414, allocations: 37.7 kB / 1.002 GB, free: 11.16 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.9417, allocations: 467.4 kB / 1.002 GB, free: 10.7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.9419, allocations: 173.5 kB / 1.002 GB, free: 10.52 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.9421, allocations: 118.2 kB / 1.003 GB, free: 10.4 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.9422, allocations: 341.4 kB / 1.003 GB, free: 10.07 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.9426, allocations: 241.2 kB / 1.003 GB, free: 9.832 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.9431, allocations: 370.9 kB / 1.003 GB, free: 9.422 MB / 0.795 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003521/0.9467, allocations: 1.518 MB / 1.005 GB, free: 7.855 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9467, allocations: 2.25 kB / 1.005 GB, free: 7.855 MB / 0.795 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001292/0.948, allocations: 0.7807 MB / 1.006 GB, free: 7.059 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.948, allocations: 11.94 kB / 1.006 GB, free: 7.047 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.948, allocations: 4 kB / 1.006 GB, free: 7.043 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/0.9483, allocations: 93.97 kB / 1.006 GB, free: 6.945 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.949, allocations: 147.8 kB / 1.006 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/0.9519, allocations: 3.303 MB / 1.009 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008785/0.9528, allocations: 31.3 kB / 1.009 GB, free: 3.199 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.9529, allocations: 24 kB / 1.009 GB, free: 3.176 MB / 0.795 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004893/0.9534, allocations: 301.6 kB / 1.01 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.9536, allocations: 90.97 kB / 1.01 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.9537, allocations: 100.5 kB / 1.01 GB, free: 2.676 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9537, allocations: 4 kB / 1.01 GB, free: 2.672 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.9538, allocations: 0 / 1.01 GB, free: 2.672 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001004/0.9548, allocations: 0.8465 MB / 1.011 GB, free: 1.734 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.9576, allocations: 1.78 MB / 1.012 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.9576, allocations: 4 kB / 1.012 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/0.9582, allocations: 136.2 kB / 1.012 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.9585, allocations: 72.8 kB / 1.013 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.9585, allocations: 8 kB / 1.013 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.9601, allocations: 1.792 MB / 1.014 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.9602, allocations: 4 kB / 1.014 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.9618, allocations: 1.09 MB / 1.015 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/0.9623, allocations: 236 kB / 1.016 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.9624, allocations: 12 kB / 1.016 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000677/0.9631, allocations: 38.06 kB / 1.016 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.9632, allocations: 47.83 kB / 1.016 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-05/0.9633, allocations: 31.92 kB / 1.016 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007042/0.964, allocations: 0.5498 MB / 1.016 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.964, allocations: 0 / 1.016 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008761/0.9649, allocations: 288 kB / 1.016 GB, free: 11.36 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (45): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000479/0.9654, allocations: 196.5 kB / 1.017 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.9667, allocations: 0.8137 MB / 1.017 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.9667, allocations: 0 / 1.017 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005773/0.9673, allocations: 415.4 kB / 1.018 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/0.97, allocations: 0.605 MB / 1.018 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.9727, allocations: 1.832 MB / 1.02 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.9733, allocations: 1.083 MB / 1.021 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.9735, allocations: 71.38 kB / 1.021 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of SimCode: time 4.81e-07/0.9735, allocations: 0 / 1.021 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of Templates: time 0.02688/1, allocations: 21.8 MB / 1.043 GB, free: 0.6992 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)