Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.001387/0.001387, allocations: 108 kB / 15.6 MB, free: 132 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.001131/0.001131, allocations: 198.8 kB / 16.54 MB, free: 6.672 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.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 291 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9078/0.9078, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 100.5 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1392, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4654/0.6046, allocations: 190.6 MB / 0.8664 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008676/0.6133, allocations: 5.72 MB / 0.872 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.6147, allocations: 39.44 kB / 0.872 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.6163, allocations: 0.5899 MB / 0.8726 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00551/0.6218, allocations: 1.844 MB / 0.8744 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.6251, allocations: 1.17 MB / 0.8755 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003638/0.6288, allocations: 2.949 MB / 0.8784 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.6301, allocations: 0.9565 MB / 0.8793 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.632, allocations: 1.043 MB / 0.8804 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.6339, allocations: 0.9073 MB / 0.8812 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002786/0.6342, allocations: 110.4 kB / 0.8814 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.637, allocations: 1.431 MB / 0.8827 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005456/0.6376, allocations: 458.5 kB / 0.8832 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.6386, allocations: 0.6587 MB / 0.8838 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.6416, allocations: 2.122 MB / 0.8859 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6416, allocations: 0 / 0.8859 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6416, allocations: 0 / 0.8859 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.03e-05/0.6416, allocations: 0 / 0.8859 GB, free: 2.062 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002826/0.6445, allocations: 1.52 MB / 0.8874 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.6445, allocations: 12.19 kB / 0.8874 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001976/0.6447, allocations: 136.1 kB / 0.8875 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.6467, allocations: 315.4 kB / 0.8878 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.648, allocations: 0.8096 MB / 0.8886 GB, free: 36 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.6481, allocations: 65.28 kB / 0.8887 GB, free: 4 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.6483, allocations: 78.89 kB / 0.8888 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.6498, allocations: 0.9301 MB / 0.8897 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.6498, allocations: 3.938 kB / 0.8897 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/0.6499, allocations: 42.19 kB / 0.8897 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.6499, allocations: 29.72 kB / 0.8897 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.6513, allocations: 0.8271 MB / 0.8905 GB, free: 15.01 MB / 0.6075 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.005189/0.6565, allocations: 3.544 MB / 0.894 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.6573, allocations: 0.4933 MB / 0.8945 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004417/0.6577, allocations: 291.7 kB / 0.8948 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.6579, allocations: 105.5 kB / 0.8949 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.658, allocations: 42.94 kB / 0.8949 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/0.658, allocations: 0 / 0.8949 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.003821/0.6618, allocations: 1.923 MB / 0.8968 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.6619, allocations: 63.77 kB / 0.8968 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009138/0.6628, allocations: 0.8019 MB / 0.8976 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.6628, allocations: 37.7 kB / 0.8977 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.6632, allocations: 475.3 kB / 0.8981 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.6633, allocations: 177.5 kB / 0.8983 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.6635, allocations: 110.2 kB / 0.8984 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6636, allocations: 329.9 kB / 0.8987 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.6641, allocations: 245.2 kB / 0.8989 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.6646, allocations: 361.1 kB / 0.8993 GB, free: 6.422 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.003685/0.6683, allocations: 1.538 MB / 0.9008 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6683, allocations: 0 / 0.9008 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001267/0.6695, allocations: 0.7844 MB / 0.9016 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6696, allocations: 8.344 kB / 0.9016 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6696, allocations: 4 kB / 0.9016 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002907/0.6699, allocations: 95.78 kB / 0.9017 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.6705, allocations: 143.8 kB / 0.9018 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/0.6733, allocations: 3.302 MB / 0.905 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007523/0.6741, allocations: 23.92 kB / 0.905 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.6741, allocations: 27.98 kB / 0.9051 GB, free: 156 kB / 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 (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.0003943/0.6745, allocations: 302.3 kB / 0.9054 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.6747, allocations: 90.97 kB / 0.9054 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.6749, allocations: 101.6 kB / 0.9055 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6749, allocations: 7.984 kB / 0.9055 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6749, allocations: 0 / 0.9055 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009892/0.6759, allocations: 0.8387 MB / 0.9064 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.6786, allocations: 1.803 MB / 0.9081 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6786, allocations: 0 / 0.9081 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.6792, allocations: 132.4 kB / 0.9083 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002132/0.6794, allocations: 68.81 kB / 0.9083 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.6795, allocations: 16 kB / 0.9083 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.681, allocations: 1.789 MB / 0.9101 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.681, allocations: 0 / 0.9101 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.6825, allocations: 1.064 MB / 0.9111 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.6829, allocations: 243.8 kB / 0.9114 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.683, allocations: 12 kB / 0.9114 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/0.6837, allocations: 34.39 kB / 0.9114 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.6838, allocations: 55.8 kB / 0.9114 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.098e-05/0.6839, allocations: 36.05 kB / 0.9115 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000658/0.6846, allocations: 0.5537 MB / 0.912 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6846, allocations: 3.938 kB / 0.912 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007913/0.6854, allocations: 291.9 kB / 0.9123 GB, free: 8.32 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 (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.002037/0.6874, allocations: 1.688 MB / 0.914 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.6888, allocations: 0.8628 MB / 0.9148 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6888, allocations: 0 / 0.9148 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005693/0.6894, allocations: 411.7 kB / 0.9152 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.692, allocations: 0.609 MB / 0.9158 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009297/0.7013, allocations: 7.284 MB / 0.9229 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.702, allocations: 1.087 MB / 0.924 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008408/0.7029, allocations: 219.7 kB / 0.9242 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/0.7033, allocations: 339.3 kB / 0.9245 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.7033, allocations: 0 / 0.9245 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05694/0.7603, allocations: 27.83 MB / 0.9517 GB, free: 76 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.46, allocations: 11 kB / 0.9517 GB, free: 72 kB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)