Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.001143/0.001143, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009592/0.0009592, allocations: 191.2 kB / 16.25 MB, free: 6.641 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.146/1.146, allocations: 205.1 MB / 222.1 MB, free: 4.75 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.61/1.61, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001345/0.001345, allocations: 71.08 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1771, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.5065/0.6836, allocations: 188.1 MB / 0.9666 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007411/0.6911, allocations: 5.65 MB / 0.9722 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009572/0.6921, allocations: 31.41 kB / 0.9722 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.6934, allocations: 0.5157 MB / 0.9727 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.6966, allocations: 1.512 MB / 0.9742 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.6991, allocations: 1.098 MB / 0.9752 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002342/0.7015, allocations: 2.544 MB / 0.9777 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008684/0.7024, allocations: 0.8505 MB / 0.9786 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.7038, allocations: 1.043 MB / 0.9796 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.7052, allocations: 0.8588 MB / 0.9804 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.7053, allocations: 97.06 kB / 0.9805 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.7076, allocations: 1.609 MB / 0.9821 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.7079, allocations: 412.5 kB / 0.9825 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00049/0.7084, allocations: 0.5868 MB / 0.983 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.7104, allocations: 2.086 MB / 0.9851 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.7104, allocations: 0 / 0.9851 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7104, allocations: 1.312 kB / 0.9851 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.7104, allocations: 3.234 kB / 0.9851 GB, free: 4.668 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00208/0.7125, allocations: 1.424 MB / 0.9865 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.7126, allocations: 13.88 kB / 0.9865 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.7127, allocations: 125.5 kB / 0.9866 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/0.7152, allocations: 413 kB / 0.987 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.7163, allocations: 0.749 MB / 0.9877 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/0.7166, allocations: 123.8 kB / 0.9879 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.7168, allocations: 81.16 kB / 0.9879 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.7185, allocations: 0.9987 MB / 0.9889 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.7185, allocations: 0 / 0.9889 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.398e-05/0.7186, allocations: 33.97 kB / 0.9889 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.7186, allocations: 28.19 kB / 0.989 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.7204, allocations: 0.8782 MB / 0.9898 GB, free: 19.17 MB / 0.7481 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.004902/0.7253, allocations: 3.501 MB / 0.9932 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.7267, allocations: 0.6255 MB / 0.9939 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006825/0.7274, allocations: 343.4 kB / 0.9942 GB, free: 16.81 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.7276, allocations: 100 kB / 0.9943 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.7276, allocations: 44.91 kB / 0.9943 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=39): time 1.734e-06/0.7276, allocations: 0 / 0.9943 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=41): time 0.007282/0.7349, allocations: 2.413 MB / 0.9967 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.7349, allocations: 59.38 kB / 0.9967 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008245/0.7358, allocations: 0.7894 MB / 0.9975 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.7359, allocations: 38.2 kB / 0.9975 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.7361, allocations: 451.1 kB / 0.998 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.7362, allocations: 144 kB / 0.9981 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.7364, allocations: 106 kB / 0.9982 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.7365, allocations: 326 kB / 0.9985 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009479/0.7374, allocations: 309.6 kB / 0.9988 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.7386, allocations: 421.2 kB / 0.9992 GB, free: 14.1 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.005088/0.7437, allocations: 1.884 MB / 1.001 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.7438, allocations: 6.344 kB / 1.001 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003142/0.7469, allocations: 1.047 MB / 1.002 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.7469, allocations: 6.344 kB / 1.002 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.7469, allocations: 2.625 kB / 1.002 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005489/0.7475, allocations: 193.5 kB / 1.002 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007578/0.7483, allocations: 147.3 kB / 1.002 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/0.752, allocations: 2.245 MB / 1.005 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.7535, allocations: 81.02 kB / 1.005 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.871e-05/0.7536, allocations: 20.98 kB / 1.005 GB, free: 11.34 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.000441/0.7541, allocations: 286.9 kB / 1.005 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.7542, allocations: 82.97 kB / 1.005 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.7544, allocations: 90.22 kB / 1.005 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.7544, allocations: 6.312 kB / 1.005 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7544, allocations: 4 kB / 1.005 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002774/0.7572, allocations: 0.9097 MB / 1.006 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/0.7621, allocations: 2.118 MB / 1.008 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7621, allocations: 4.594 kB / 1.008 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/0.7627, allocations: 128.3 kB / 1.008 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005124/0.7632, allocations: 191.8 kB / 1.008 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.7633, allocations: 10.12 kB / 1.008 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003246/0.7665, allocations: 2.186 MB / 1.011 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.7666, allocations: 12.75 kB / 1.011 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003583/0.7701, allocations: 1.47 MB / 1.012 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/0.7705, allocations: 229.9 kB / 1.012 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.7706, allocations: 15.48 kB / 1.012 GB, free: 6.461 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/0.7715, allocations: 81.61 kB / 1.012 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.484e-05/0.7716, allocations: 42.14 kB / 1.012 GB, free: 6.402 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.7717, allocations: 27.17 kB / 1.012 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005631/0.7723, allocations: 0.5509 MB / 1.013 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7723, allocations: 0 / 1.013 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007685/0.773, allocations: 275.6 kB / 1.013 GB, free: 6.062 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 (37): * Single equations (assignments): 36 * 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.004198/0.7772, allocations: 2.097 MB / 1.015 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.7792, allocations: 0.8375 MB / 1.016 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7792, allocations: 0 / 1.016 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008665/0.78, allocations: 477.5 kB / 1.017 GB, free: 3.918 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.7822, allocations: 0.5443 MB / 1.017 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.7961, allocations: 8.208 MB / 1.025 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.7966, allocations: 1.039 MB / 1.026 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000719/0.7973, allocations: 202.6 kB / 1.026 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.7977, allocations: 314.3 kB / 1.027 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of SimCode: time 2.41e-07/0.7977, allocations: 0 / 1.027 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.154/3.951, allocations: 27.39 MB / 1.053 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/3.952, allocations: 317.1 kB / 1.054 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/6.502, allocations: 2.25 kB / 1.054 GB, free: 4.445 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)