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.00139/0.00139, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001056/0.001056, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.313/1.313, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 286 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9187/0.9187, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 90.78 kB / 0.5946 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1335, allocations: 86.97 MB / 0.6795 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.434/0.5676, allocations: 188.3 MB / 0.8634 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00836/0.576, allocations: 5.786 MB / 0.8691 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.5771, allocations: 36.56 kB / 0.8691 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.5784, allocations: 0.5099 MB / 0.8696 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00371/0.5821, allocations: 1.737 MB / 0.8713 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.5845, allocations: 1.08 MB / 0.8724 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003494/0.588, allocations: 4.086 MB / 0.8764 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009382/0.589, allocations: 0.8176 MB / 0.8772 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.5902, allocations: 0.893 MB / 0.878 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.5918, allocations: 0.9597 MB / 0.879 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.5919, allocations: 55.66 kB / 0.879 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00273/0.5946, allocations: 1.623 MB / 0.8806 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003885/0.595, allocations: 410.9 kB / 0.881 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006004/0.5957, allocations: 0.5956 MB / 0.8816 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.598, allocations: 2.176 MB / 0.8837 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.598, allocations: 0 / 0.8837 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.412e-06/0.598, allocations: 2.906 kB / 0.8837 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.5981, allocations: 0 / 0.8837 GB, free: 4.137 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.002207/0.6003, allocations: 1.514 MB / 0.8852 GB, free: 3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.6003, allocations: 10.03 kB / 0.8852 GB, free: 3 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.6005, allocations: 140.1 kB / 0.8853 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/0.6024, allocations: 311.5 kB / 0.8856 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.6036, allocations: 0.8179 MB / 0.8864 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.6037, allocations: 62.41 kB / 0.8865 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.6038, allocations: 87.59 kB / 0.8866 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.6052, allocations: 0.9202 MB / 0.8875 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.6053, allocations: 0 / 0.8875 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.808e-05/0.6054, allocations: 42.05 kB / 0.8875 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.6054, allocations: 29.38 kB / 0.8875 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.6067, allocations: 0.8309 MB / 0.8883 GB, free: 1.086 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.004778/0.6115, allocations: 3.514 MB / 0.8918 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/0.6123, allocations: 0.4972 MB / 0.8923 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/0.6127, allocations: 294.5 kB / 0.8925 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.6129, allocations: 109.4 kB / 0.8927 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.613, allocations: 47 kB / 0.8927 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.613, allocations: 0 / 0.8927 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.003861/0.6168, allocations: 1.911 MB / 0.8946 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.6169, allocations: 59.84 kB / 0.8946 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009076/0.6178, allocations: 0.8058 MB / 0.8954 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/0.6179, allocations: 41.7 kB / 0.8954 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.6182, allocations: 483.2 kB / 0.8959 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.6183, allocations: 165.5 kB / 0.8961 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.6185, allocations: 118.2 kB / 0.8962 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6186, allocations: 333.9 kB / 0.8965 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.6191, allocations: 245.2 kB / 0.8967 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/0.6196, allocations: 353.2 kB / 0.8971 GB, free: 8.594 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.003692/0.6233, allocations: 1.528 MB / 0.8986 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.6233, allocations: 4 kB / 0.8986 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001312/0.6246, allocations: 0.7844 MB / 0.8993 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.6246, allocations: 10.19 kB / 0.8993 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.6246, allocations: 0.625 kB / 0.8993 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002935/0.6249, allocations: 102 kB / 0.8994 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.6256, allocations: 139.8 kB / 0.8996 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.6283, allocations: 3.062 MB / 0.9026 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009225/0.6292, allocations: 63.86 kB / 0.9026 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/0.6293, allocations: 24 kB / 0.9026 GB, free: 2.551 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 (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.00044/0.6297, allocations: 303.2 kB / 0.9029 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.6299, allocations: 98.91 kB / 0.903 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.63, allocations: 100.7 kB / 0.9031 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6301, allocations: 4 kB / 0.9031 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6301, allocations: 0 / 0.9031 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/0.6311, allocations: 0.8388 MB / 0.9039 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/0.6338, allocations: 1.799 MB / 0.9057 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6338, allocations: 4 kB / 0.9057 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.6344, allocations: 128 kB / 0.9058 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.6347, allocations: 81.09 kB / 0.9059 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.6347, allocations: 16 kB / 0.9059 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.6362, allocations: 1.64 MB / 0.9075 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6362, allocations: 4 kB / 0.9075 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.6377, allocations: 1.076 MB / 0.9086 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.6381, allocations: 228 kB / 0.9088 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.6382, allocations: 16 kB / 0.9088 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007797/0.639, allocations: 61.75 kB / 0.9089 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6391, allocations: 51.81 kB / 0.9089 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.6392, allocations: 28.17 kB / 0.9089 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006558/0.6398, allocations: 0.5576 MB / 0.9095 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6399, allocations: 0 / 0.9095 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008827/0.6407, allocations: 288 kB / 0.9098 GB, free: 10.86 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.002023/0.6428, allocations: 1.716 MB / 0.9114 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.644, allocations: 0.7926 MB / 0.9122 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.644, allocations: 0 / 0.9122 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005668/0.6446, allocations: 419.6 kB / 0.9126 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/0.6472, allocations: 0.5791 MB / 0.9132 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009814/0.657, allocations: 7.604 MB / 0.9206 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/0.6576, allocations: 1.087 MB / 0.9217 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000958/0.6586, allocations: 219.7 kB / 0.9219 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004413/0.6591, allocations: 339.3 kB / 0.9222 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/0.6591, allocations: 0 / 0.9222 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/0.7017, allocations: 26.71 MB / 0.9483 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.7019, allocations: 307.7 kB / 0.9486 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/2.992, allocations: 3.5 kB / 0.9486 GB, free: 3.094 MB / 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)