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.001052/0.001052, allocations: 109.4 kB / 15.69 MB, free: 128 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.001687/0.001687, allocations: 190.6 kB / 16.62 MB, free: 6.613 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.372/1.372, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.677/1.677, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00153/0.00153, allocations: 67.86 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3015, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.7408/1.042, allocations: 190.6 MB / 0.9697 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009843/1.052, allocations: 5.673 MB / 0.9753 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002208/1.055, allocations: 39.16 kB / 0.9753 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/1.056, allocations: 0.5745 MB / 0.9759 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006328/1.063, allocations: 1.827 MB / 0.9776 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003881/1.067, allocations: 1.184 MB / 0.9788 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005409/1.072, allocations: 2.932 MB / 0.9817 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/1.074, allocations: 0.9391 MB / 0.9826 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/1.076, allocations: 1.056 MB / 0.9836 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/1.078, allocations: 0.9073 MB / 0.9845 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/1.079, allocations: 108.8 kB / 0.9846 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004066/1.083, allocations: 1.429 MB / 0.986 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005854/1.083, allocations: 458.6 kB / 0.9864 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/1.084, allocations: 0.6498 MB / 0.9871 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004269/1.089, allocations: 2.129 MB / 0.9891 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.089, allocations: 0 / 0.9891 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.023e-06/1.089, allocations: 7.984 kB / 0.9892 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.967e-05/1.089, allocations: 0 / 0.9892 GB, free: 9.105 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.003147/1.092, allocations: 1.505 MB / 0.9906 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/1.092, allocations: 7.531 kB / 0.9906 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/1.092, allocations: 137.6 kB / 0.9908 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/1.094, allocations: 313.9 kB / 0.9911 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/1.096, allocations: 0.8394 MB / 0.9919 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.985e-05/1.096, allocations: 65.88 kB / 0.9919 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/1.096, allocations: 87.02 kB / 0.992 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/1.098, allocations: 0.9136 MB / 0.9929 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/1.098, allocations: 0 / 0.9929 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/1.098, allocations: 35.56 kB / 0.993 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-05/1.098, allocations: 33.48 kB / 0.993 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/1.099, allocations: 0.8228 MB / 0.9938 GB, free: 6.102 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.005513/1.105, allocations: 3.501 MB / 0.9972 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/1.106, allocations: 0.5015 MB / 0.9977 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/1.106, allocations: 301.4 kB / 0.998 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/1.106, allocations: 99.2 kB / 0.9981 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/1.106, allocations: 44.28 kB / 0.9981 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 1.914e-06/1.106, allocations: 0 / 0.9981 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.004125/1.111, allocations: 1.919 MB / 1 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/1.111, allocations: 56.91 kB / 1 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009539/1.112, allocations: 0.7933 MB / 1.001 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/1.112, allocations: 38.02 kB / 1.001 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/1.112, allocations: 469.6 kB / 1.001 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/1.112, allocations: 174.7 kB / 1.001 GB, free: 448 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/1.112, allocations: 115.9 kB / 1.002 GB, free: 376 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.112, allocations: 335.6 kB / 1.002 GB, free: 40 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/1.113, allocations: 238.7 kB / 1.002 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/1.113, allocations: 367.3 kB / 1.002 GB, free: 15.67 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.003548/1.117, allocations: 1.53 MB / 1.004 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.117, allocations: 2.844 kB / 1.004 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001286/1.118, allocations: 0.773 MB / 1.005 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.118, allocations: 11.88 kB / 1.005 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.118, allocations: 2.531 kB / 1.005 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003036/1.119, allocations: 99.05 kB / 1.005 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/1.119, allocations: 136.1 kB / 1.005 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/1.122, allocations: 3.303 MB / 1.008 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008736/1.123, allocations: 32.86 kB / 1.008 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/1.123, allocations: 21.78 kB / 1.008 GB, free: 11.1 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.0005694/1.124, allocations: 303.6 kB / 1.009 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/1.124, allocations: 88.28 kB / 1.009 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/1.124, allocations: 99.78 kB / 1.009 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.124, allocations: 9.25 kB / 1.009 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.124, allocations: 2.719 kB / 1.009 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/1.125, allocations: 0.844 MB / 1.01 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/1.128, allocations: 1.796 MB / 1.011 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.128, allocations: 2.531 kB / 1.011 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/1.129, allocations: 126.4 kB / 1.011 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002292/1.129, allocations: 68.16 kB / 1.011 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/1.129, allocations: 15.53 kB / 1.012 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/1.131, allocations: 1.79 MB / 1.013 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.131, allocations: 9.312 kB / 1.013 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/1.132, allocations: 1.091 MB / 1.014 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/1.133, allocations: 241.5 kB / 1.015 GB, free: 6.125 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/1.133, allocations: 11.34 kB / 1.015 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/1.134, allocations: 31.11 kB / 1.015 GB, free: 6.105 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.134, allocations: 52.91 kB / 1.015 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.744e-05/1.134, allocations: 28.45 kB / 1.015 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006889/1.135, allocations: 0.5512 MB / 1.015 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/1.135, allocations: 0 / 1.015 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009757/1.136, allocations: 281.9 kB / 1.015 GB, free: 5.734 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.002244/1.138, allocations: 1.724 MB / 1.017 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001371/1.139, allocations: 0.8148 MB / 1.018 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.139, allocations: 2.875 kB / 1.018 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005656/1.14, allocations: 412.1 kB / 1.018 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/1.142, allocations: 0.6141 MB / 1.019 GB, free: 3.352 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009761/1.152, allocations: 6.917 MB / 1.026 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007541/1.153, allocations: 1.088 MB / 1.027 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009739/1.154, allocations: 213.9 kB / 1.027 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/1.154, allocations: 343.3 kB / 1.027 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of SimCode: time 1.382e-06/1.155, allocations: 0 / 1.027 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06302/1.218, allocations: 27.81 MB / 1.054 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.51, allocations: 21.62 kB / 1.054 GB, free: 2.211 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)