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.001064/0.001064, 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.0009985/0.0009985, allocations: 185.7 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.389/1.389, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.714/1.714, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001568/0.001568, allocations: 69.66 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2864, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.7955/1.082, allocations: 190.6 MB / 0.9697 GB, free: 0 / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00959/1.092, allocations: 5.676 MB / 0.9753 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/1.093, allocations: 39.81 kB / 0.9753 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001698/1.095, allocations: 0.5717 MB / 0.9759 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004718/1.1, allocations: 1.606 MB / 0.9774 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003521/1.103, allocations: 1.208 MB / 0.9786 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003827/1.107, allocations: 2.548 MB / 0.9811 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/1.109, allocations: 0.8759 MB / 0.982 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/1.111, allocations: 1.047 MB / 0.983 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/1.113, allocations: 0.8056 MB / 0.9838 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/1.113, allocations: 94.22 kB / 0.9839 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/1.116, allocations: 1.545 MB / 0.9854 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004519/1.117, allocations: 409 kB / 0.9858 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007434/1.117, allocations: 0.5808 MB / 0.9863 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003079/1.121, allocations: 2.013 MB / 0.9883 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.121, allocations: 0 / 0.9883 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/1.121, allocations: 4 kB / 0.9883 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.149e-05/1.121, allocations: 0 / 0.9883 GB, free: 9.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.00226/1.123, allocations: 1.426 MB / 0.9897 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.123, allocations: 10.09 kB / 0.9897 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/1.123, allocations: 132.4 kB / 0.9898 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/1.126, allocations: 409.6 kB / 0.9902 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/1.127, allocations: 0.7939 MB / 0.991 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.911e-05/1.127, allocations: 55.34 kB / 0.991 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/1.127, allocations: 79.33 kB / 0.9911 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/1.129, allocations: 0.9761 MB / 0.9921 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/1.129, allocations: 10.72 kB / 0.9921 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.611e-05/1.129, allocations: 38.25 kB / 0.9921 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/1.129, allocations: 25.66 kB / 0.9921 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/1.131, allocations: 0.8706 MB / 0.993 GB, free: 6.621 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.005386/1.136, allocations: 3.473 MB / 0.9964 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/1.138, allocations: 0.6068 MB / 0.997 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007073/1.138, allocations: 327.2 kB / 0.9973 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/1.138, allocations: 104.6 kB / 0.9974 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/1.138, allocations: 40.97 kB / 0.9974 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 1.843e-06/1.139, allocations: 0 / 0.9974 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=41): time 0.007579/1.146, allocations: 2.392 MB / 0.9998 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/1.146, allocations: 56.59 kB / 0.9998 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009581/1.147, allocations: 0.7909 MB / 1.001 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/1.147, allocations: 31.83 kB / 1.001 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/1.148, allocations: 448.4 kB / 1.001 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/1.148, allocations: 145.3 kB / 1.001 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/1.148, allocations: 103 kB / 1.001 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.148, allocations: 331.2 kB / 1.002 GB, free: 484 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007248/1.149, allocations: 298.3 kB / 1.002 GB, free: 340 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/1.15, allocations: 422.2 kB / 1.002 GB, free: 48 kB / 0.7325 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.004982/1.155, allocations: 1.869 MB / 1.004 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.155, allocations: 6.938 kB / 1.004 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003036/1.158, allocations: 1.038 MB / 1.005 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.158, allocations: 4.875 kB / 1.005 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.158, allocations: 6.406 kB / 1.005 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/1.158, allocations: 192.1 kB / 1.005 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/1.159, allocations: 138.9 kB / 1.005 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/1.163, allocations: 2.242 MB / 1.008 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000954/1.164, allocations: 59.25 kB / 1.008 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/1.164, allocations: 18.53 kB / 1.008 GB, free: 12.44 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.0004639/1.164, allocations: 275.9 kB / 1.008 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/1.164, allocations: 90.16 kB / 1.008 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/1.164, allocations: 99.44 kB / 1.008 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.164, allocations: 5.25 kB / 1.008 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.164, allocations: 0 / 1.008 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002624/1.167, allocations: 0.8999 MB / 1.009 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004779/1.172, allocations: 2.087 MB / 1.011 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.172, allocations: 6.469 kB / 1.011 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/1.172, allocations: 134.5 kB / 1.011 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005192/1.173, allocations: 189.4 kB / 1.011 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/1.173, allocations: 15.39 kB / 1.011 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/1.176, allocations: 2.188 MB / 1.014 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.176, allocations: 4.812 kB / 1.014 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/1.18, allocations: 1.436 MB / 1.015 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/1.18, allocations: 233.6 kB / 1.015 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.181, allocations: 15.5 kB / 1.015 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/1.181, allocations: 55.88 kB / 1.015 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/1.181, allocations: 43.3 kB / 1.015 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/1.181, allocations: 31.67 kB / 1.015 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006463/1.182, allocations: 0.5455 MB / 1.016 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/1.182, allocations: 6.406 kB / 1.016 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008045/1.183, allocations: 274 kB / 1.016 GB, free: 6.688 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.004055/1.187, allocations: 2.082 MB / 1.018 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001883/1.189, allocations: 0.8016 MB / 1.019 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.189, allocations: 3.312 kB / 1.019 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008569/1.19, allocations: 460.6 kB / 1.019 GB, free: 4.523 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.192, allocations: 0.5389 MB / 1.02 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/1.206, allocations: 7.639 MB / 1.027 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/1.207, allocations: 1.036 MB / 1.028 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008549/1.208, allocations: 203.2 kB / 1.029 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/1.208, allocations: 311.3 kB / 1.029 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of SimCode: time 1.132e-06/1.208, allocations: 4 kB / 1.029 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05544/1.263, allocations: 27.65 MB / 1.056 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/13.31, allocations: 14.84 kB / 1.056 GB, free: 1.047 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)