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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, 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.001971/0.001971, allocations: 195 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.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.767/1.767, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001438/0.001438, allocations: 72.33 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2057, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6726/0.8783, allocations: 190.6 MB / 0.9696 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00896/0.8873, allocations: 5.676 MB / 0.9751 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.8896, allocations: 40.44 kB / 0.9751 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.8916, allocations: 0.5773 MB / 0.9757 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005083/0.8967, allocations: 1.822 MB / 0.9775 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.9, allocations: 1.171 MB / 0.9786 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004183/0.9042, allocations: 2.925 MB / 0.9815 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.906, allocations: 0.9474 MB / 0.9824 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.9084, allocations: 1.043 MB / 0.9834 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/0.9108, allocations: 0.9103 MB / 0.9843 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003594/0.9111, allocations: 115.7 kB / 0.9844 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004011/0.9152, allocations: 1.43 MB / 0.9858 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009555/0.9161, allocations: 460.9 kB / 0.9863 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002246/0.9184, allocations: 0.6467 MB / 0.9869 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005518/0.9239, allocations: 2.117 MB / 0.989 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.924, allocations: 0 / 0.989 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.435e-06/0.924, allocations: 0 / 0.989 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.507e-05/0.9241, allocations: 0 / 0.989 GB, free: 9.25 MB / 0.7325 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.003336/0.9274, allocations: 1.509 MB / 0.9904 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.9275, allocations: 10.16 kB / 0.9904 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001703/0.9276, allocations: 138.6 kB / 0.9906 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.9297, allocations: 316.5 kB / 0.9909 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.9309, allocations: 0.7993 MB / 0.9917 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.931, allocations: 65.72 kB / 0.9917 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.9311, allocations: 81.88 kB / 0.9918 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.9327, allocations: 0.9205 MB / 0.9927 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.9327, allocations: 4 kB / 0.9927 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/0.9328, allocations: 37.69 kB / 0.9927 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.9328, allocations: 30.38 kB / 0.9928 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.9341, allocations: 0.8302 MB / 0.9936 GB, free: 6.25 MB / 0.7325 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.00512/0.9393, allocations: 3.525 MB / 0.997 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/0.94, allocations: 0.5083 MB / 0.9975 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/0.9405, allocations: 294.2 kB / 0.9978 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.9407, allocations: 103.9 kB / 0.9979 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.9407, allocations: 40.03 kB / 0.9979 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 3.356e-06/0.9407, allocations: 4 kB / 0.9979 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003851/0.9446, allocations: 1.923 MB / 0.9998 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.9446, allocations: 57.38 kB / 0.9999 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008654/0.9455, allocations: 0.7929 MB / 1.001 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/0.9455, allocations: 38.83 kB / 1.001 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.9459, allocations: 471 kB / 1.001 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.946, allocations: 170.4 kB / 1.001 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.9462, allocations: 117 kB / 1.001 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.9463, allocations: 334.8 kB / 1.002 GB, free: 184 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.9467, allocations: 237.6 kB / 1.002 GB, free: 68 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.9473, allocations: 372.1 kB / 1.002 GB, free: 15.8 MB / 0.7481 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.003617/0.9509, allocations: 1.529 MB / 1.004 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.9509, allocations: 1.781 kB / 1.004 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001377/0.9523, allocations: 0.7779 MB / 1.005 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.9523, allocations: 11.56 kB / 1.005 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.9524, allocations: 2.75 kB / 1.005 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.9527, allocations: 105.1 kB / 1.005 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.9533, allocations: 139.8 kB / 1.005 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.956, allocations: 3.306 MB / 1.008 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008724/0.9569, allocations: 25.42 kB / 1.008 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.957, allocations: 25.94 kB / 1.008 GB, free: 11.22 MB / 0.7481 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.000444/0.9574, allocations: 303.6 kB / 1.008 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.9576, allocations: 94.66 kB / 1.008 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.9577, allocations: 99.72 kB / 1.009 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.9578, allocations: 5.281 kB / 1.009 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9578, allocations: 0 / 1.009 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009887/0.9588, allocations: 0.8439 MB / 1.009 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.9614, allocations: 1.789 MB / 1.011 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.9614, allocations: 2.562 kB / 1.011 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.962, allocations: 134.3 kB / 1.011 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/0.9622, allocations: 64.06 kB / 1.011 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.9623, allocations: 15.44 kB / 1.011 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.9638, allocations: 1.787 MB / 1.013 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.9639, allocations: 10.88 kB / 1.013 GB, free: 7.152 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.9655, allocations: 1.091 MB / 1.014 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/0.966, allocations: 238.6 kB / 1.014 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.9661, allocations: 13.31 kB / 1.014 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/0.9669, allocations: 26.52 kB / 1.014 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.967, allocations: 50.12 kB / 1.014 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.003e-05/0.9671, allocations: 32.14 kB / 1.015 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006572/0.9677, allocations: 0.553 MB / 1.015 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9678, allocations: 0 / 1.015 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000841/0.9686, allocations: 279.1 kB / 1.015 GB, free: 5.855 MB / 0.7481 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.002179/0.9708, allocations: 1.73 MB / 1.017 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.9722, allocations: 0.8691 MB / 1.018 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9722, allocations: 0 / 1.018 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005376/0.9728, allocations: 413.5 kB / 1.018 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/0.9755, allocations: 0.6133 MB / 1.019 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009276/0.9848, allocations: 7.236 MB / 1.026 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/0.9856, allocations: 1.084 MB / 1.027 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009532/0.9865, allocations: 207.2 kB / 1.027 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/0.987, allocations: 347.3 kB / 1.027 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of SimCode: time 5.61e-07/0.987, allocations: 0 / 1.027 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05694/1.044, allocations: 27.8 MB / 1.055 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.32, allocations: 7.688 kB / 1.055 GB, free: 1.977 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)