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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 219.8 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.376/1.376, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002663/0.002663, allocations: 289 kB / 313.5 MB, free: 2.621 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.186/1.186, allocations: 180.6 MB / 0.5377 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 94.16 kB / 0.7403 GB, free: 28.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1736, allocations: 95.39 MB / 0.8334 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6187/0.7922, allocations: 168.3 MB / 0.9978 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008952/0.8012, allocations: 5.415 MB / 1.003 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.8029, allocations: 58.28 kB / 1.003 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.8045, allocations: 0.5573 MB / 1.004 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005119/0.8097, allocations: 1.933 MB / 1.006 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.8128, allocations: 1.219 MB / 1.007 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00404/0.8168, allocations: 3.023 MB / 1.01 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009427/0.8178, allocations: 0.7374 MB / 1.01 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.8195, allocations: 1.127 MB / 1.012 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.8214, allocations: 0.9852 MB / 1.013 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.8215, allocations: 107 kB / 1.013 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.824, allocations: 1.207 MB / 1.014 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004521/0.8245, allocations: 483.3 kB / 1.014 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006246/0.8251, allocations: 0.5484 MB / 1.015 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002462/0.8276, allocations: 2.111 MB / 1.017 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.8276, allocations: 4.031 kB / 1.017 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8276, allocations: 0 / 1.017 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.8276, allocations: 0 / 1.017 GB, free: 3.168 MB / 0.7169 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.002216/0.8298, allocations: 1.466 MB / 1.018 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.8298, allocations: 12.56 kB / 1.018 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.75e-05/0.8299, allocations: 28.22 kB / 1.018 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.83, allocations: 136.7 kB / 1.018 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.8319, allocations: 324.2 kB / 1.019 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.8331, allocations: 0.7893 MB / 1.02 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.8331, allocations: 64.22 kB / 1.02 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.8332, allocations: 88.22 kB / 1.02 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.8349, allocations: 1.367 MB / 1.021 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.8349, allocations: 0.9062 kB / 1.021 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.835, allocations: 35.25 kB / 1.021 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.835, allocations: 34.38 kB / 1.021 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.8362, allocations: 0.828 MB / 1.022 GB, free: 17.43 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.004017/0.8402, allocations: 2.534 MB / 1.024 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.8408, allocations: 480.4 kB / 1.025 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.8412, allocations: 271.3 kB / 1.025 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.8413, allocations: 28.92 kB / 1.025 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.8413, allocations: 44.22 kB / 1.025 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.8414, allocations: 3.938 kB / 1.025 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.00332/0.8447, allocations: 1.704 MB / 1.027 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.8447, allocations: 60.94 kB / 1.027 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007858/0.8455, allocations: 0.8059 MB / 1.028 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.8456, allocations: 37.64 kB / 1.028 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.8459, allocations: 486.5 kB / 1.028 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.846, allocations: 184.9 kB / 1.028 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.8462, allocations: 109.1 kB / 1.028 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8463, allocations: 336 kB / 1.029 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.8467, allocations: 240.9 kB / 1.029 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/0.8472, allocations: 405.7 kB / 1.029 GB, free: 15.41 MB / 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.003238/0.8504, allocations: 1.454 MB / 1.031 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8504, allocations: 3.25 kB / 1.031 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001096/0.8515, allocations: 0.7827 MB / 1.032 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.8515, allocations: 5.094 kB / 1.032 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.8515, allocations: 7.016 kB / 1.032 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/0.8518, allocations: 92.3 kB / 1.032 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.8524, allocations: 147.8 kB / 1.032 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/0.8551, allocations: 3.084 MB / 1.035 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007821/0.8558, allocations: 31.31 kB / 1.035 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.8559, allocations: 21.88 kB / 1.035 GB, free: 12.72 MB / 0.7325 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.0004317/0.8563, allocations: 294.8 kB / 1.035 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.8564, allocations: 95.94 kB / 1.035 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.8566, allocations: 101 kB / 1.035 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8566, allocations: 4.906 kB / 1.035 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8566, allocations: 3.938 kB / 1.035 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000946/0.8576, allocations: 0.8451 MB / 1.036 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.8599, allocations: 1.629 MB / 1.038 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8599, allocations: 3.312 kB / 1.038 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/0.8604, allocations: 129.8 kB / 1.038 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/0.8606, allocations: 68.75 kB / 1.038 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.8606, allocations: 14.19 kB / 1.038 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.8621, allocations: 1.673 MB / 1.04 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.8621, allocations: 2.562 kB / 1.04 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.8634, allocations: 1.094 MB / 1.041 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.8637, allocations: 155.8 kB / 1.041 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.8639, allocations: 15.86 kB / 1.041 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006531/0.8645, allocations: 31.83 kB / 1.041 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.8646, allocations: 46.62 kB / 1.041 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.8647, allocations: 33.64 kB / 1.041 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005754/0.8652, allocations: 0.5636 MB / 1.042 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8652, allocations: 0 / 1.042 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007952/0.866, allocations: 285.7 kB / 1.042 GB, free: 9.992 MB / 0.7325 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.001797/0.8678, allocations: 1.692 MB / 1.043 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.869, allocations: 0.7771 MB / 1.044 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.869, allocations: 0.9062 kB / 1.044 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004902/0.8694, allocations: 407.5 kB / 1.045 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.8718, allocations: 0.6028 MB / 1.045 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009472/0.8813, allocations: 7.01 MB / 1.052 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.8817, allocations: 0.4913 MB / 1.052 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008199/0.8825, allocations: 212.6 kB / 1.053 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/0.883, allocations: 343.1 kB / 1.053 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of SimCode: time 1.012e-06/0.883, allocations: 0 / 1.053 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0649/0.9479, allocations: 30.44 MB / 1.083 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.51, allocations: 11.94 kB / 1.083 GB, free: 3.859 MB / 0.7481 GB " [Timeout remaining time 645] (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 --stepSize=0.004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.653292070957832] Failed to read output from testmodel.py, exit status != 0: 14.706715848995373 14.721097456 13.890653993 Calling exit ...