Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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.001371/0.001371, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001617/0.001617, allocations: 191.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 294.7 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.923/0.923, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 94.38 kB / 0.5946 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1332, allocations: 86.97 MB / 0.6795 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4347/0.568, allocations: 188.3 MB / 0.8635 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008377/0.5764, allocations: 5.781 MB / 0.8691 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.5776, allocations: 35.25 kB / 0.8691 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.5789, allocations: 0.5048 MB / 0.8696 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.5824, allocations: 1.529 MB / 0.8711 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.5851, allocations: 1.096 MB / 0.8722 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003406/0.5885, allocations: 3.539 MB / 0.8756 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008588/0.5893, allocations: 0.7466 MB / 0.8764 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.5908, allocations: 0.9027 MB / 0.8773 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.5923, allocations: 0.8382 MB / 0.8781 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.5924, allocations: 50.41 kB / 0.8781 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/0.5952, allocations: 1.728 MB / 0.8798 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003545/0.5955, allocations: 361.7 kB / 0.8802 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005698/0.5961, allocations: 0.5451 MB / 0.8807 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.5985, allocations: 2.039 MB / 0.8827 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5985, allocations: 2.406 kB / 0.8827 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.01e-07/0.5985, allocations: 0 / 0.8827 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.5985, allocations: 0 / 0.8827 GB, free: 4.832 MB / 0.5919 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.00216/0.6007, allocations: 1.442 MB / 0.8841 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6008, allocations: 10.19 kB / 0.8841 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/0.6009, allocations: 122.3 kB / 0.8842 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/0.6036, allocations: 420.2 kB / 0.8846 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.6049, allocations: 0.7622 MB / 0.8854 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003337/0.6052, allocations: 110.3 kB / 0.8855 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.6053, allocations: 74.81 kB / 0.8855 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.6071, allocations: 1.001 MB / 0.8865 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.6071, allocations: 0 / 0.8865 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/0.6072, allocations: 30.69 kB / 0.8865 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.6073, allocations: 31.61 kB / 0.8866 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.6092, allocations: 0.884 MB / 0.8874 GB, free: 1.73 MB / 0.5919 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.005724/0.6149, allocations: 3.511 MB / 0.8909 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.6166, allocations: 0.6229 MB / 0.8915 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008138/0.6174, allocations: 344.7 kB / 0.8918 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.6176, allocations: 97.75 kB / 0.8919 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.6177, allocations: 38.56 kB / 0.8919 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.314e-06/0.6177, allocations: 0 / 0.8919 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.008367/0.6261, allocations: 2.429 MB / 0.8943 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.6261, allocations: 55.41 kB / 0.8944 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009274/0.6271, allocations: 0.7902 MB / 0.8951 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/0.6271, allocations: 37.7 kB / 0.8952 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.6274, allocations: 451.6 kB / 0.8956 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.6276, allocations: 145.9 kB / 0.8957 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.6278, allocations: 106.1 kB / 0.8958 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6279, allocations: 330 kB / 0.8962 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008036/0.6287, allocations: 308.9 kB / 0.8964 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008421/0.6295, allocations: 423.9 kB / 0.8969 GB, free: 8.938 MB / 0.6075 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.00531/0.6348, allocations: 1.898 MB / 0.8987 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6349, allocations: 3.984 kB / 0.8987 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00321/0.6381, allocations: 1.038 MB / 0.8997 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6381, allocations: 12.09 kB / 0.8997 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.6381, allocations: 4 kB / 0.8997 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/0.6387, allocations: 188.7 kB / 0.8999 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/0.6394, allocations: 147.8 kB / 0.9001 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.643, allocations: 2.084 MB / 0.9021 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.6441, allocations: 83.88 kB / 0.9022 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.6442, allocations: 20 kB / 0.9022 GB, free: 3.27 MB / 0.6075 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.00043/0.6446, allocations: 281.6 kB / 0.9025 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.6448, allocations: 90.95 kB / 0.9026 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.645, allocations: 100.2 kB / 0.9026 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.645, allocations: 4 kB / 0.9027 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.645, allocations: 3.984 kB / 0.9027 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002896/0.6479, allocations: 0.8986 MB / 0.9035 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005189/0.6531, allocations: 2.115 MB / 0.9056 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6531, allocations: 4 kB / 0.9056 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006535/0.6538, allocations: 119.8 kB / 0.9057 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005407/0.6543, allocations: 192.8 kB / 0.9059 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.6544, allocations: 19.94 kB / 0.9059 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003327/0.6577, allocations: 2.045 MB / 0.9079 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.6578, allocations: 4 kB / 0.9079 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/0.6616, allocations: 1.432 MB / 0.9093 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.662, allocations: 232 kB / 0.9095 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.6621, allocations: 16.06 kB / 0.9096 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009378/0.663, allocations: 108.2 kB / 0.9097 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.6631, allocations: 43.88 kB / 0.9097 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/0.6632, allocations: 23.98 kB / 0.9097 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000659/0.6639, allocations: 0.5575 MB / 0.9103 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6639, allocations: 0 / 0.9103 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008795/0.6648, allocations: 280 kB / 0.9105 GB, free: 10.37 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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.004401/0.6692, allocations: 2.058 MB / 0.9125 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001962/0.6712, allocations: 0.8053 MB / 0.9133 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6712, allocations: 0 / 0.9133 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009496/0.6721, allocations: 467.4 kB / 0.9138 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.6746, allocations: 0.52 MB / 0.9143 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.6905, allocations: 8.254 MB / 0.9223 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.6911, allocations: 1.048 MB / 0.9234 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008749/0.692, allocations: 211.1 kB / 0.9236 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/0.6924, allocations: 319.3 kB / 0.9239 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.6924, allocations: 0 / 0.9239 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04097/0.7334, allocations: 26.6 MB / 0.9498 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.7336, allocations: 336.5 kB / 0.9502 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/3.069, allocations: 0 / 0.9502 GB, free: 1.848 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)