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.004787/0.004787, allocations: 98.67 kB / 15.73 MB, free: 5.988 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.001125/0.001126, allocations: 199.3 kB / 16.68 MB, free: 5.918 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 291.1 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.913/0.913, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 95.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1581, allocations: 86.98 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5706/0.7287, allocations: 190.6 MB / 0.952 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00919/0.7379, allocations: 5.739 MB / 0.9576 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.7394, allocations: 39.75 kB / 0.9577 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.741, allocations: 0.5786 MB / 0.9582 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00445/0.7455, allocations: 1.843 MB / 0.96 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.7484, allocations: 1.184 MB / 0.9612 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003548/0.752, allocations: 2.948 MB / 0.9641 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.7534, allocations: 0.949 MB / 0.965 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.7555, allocations: 1.074 MB / 0.966 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.7576, allocations: 0.91 MB / 0.9669 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.7578, allocations: 108 kB / 0.967 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.7605, allocations: 1.426 MB / 0.9684 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004527/0.7609, allocations: 462.8 kB / 0.9689 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007405/0.7617, allocations: 0.6535 MB / 0.9695 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.7641, allocations: 2.138 MB / 0.9716 GB, free: 416 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7641, allocations: 0 / 0.9716 GB, free: 416 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7641, allocations: 0 / 0.9716 GB, free: 416 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.7641, allocations: 4 kB / 0.9716 GB, free: 412 kB / 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.002179/0.7663, allocations: 1.511 MB / 0.9731 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.7664, allocations: 8.031 kB / 0.9731 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.7665, allocations: 139.2 kB / 0.9732 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.7684, allocations: 314.3 kB / 0.9735 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.7696, allocations: 0.8669 MB / 0.9744 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.7697, allocations: 69.94 kB / 0.9744 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.7698, allocations: 80 kB / 0.9745 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.7712, allocations: 0.9053 MB / 0.9754 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.7712, allocations: 9.641 kB / 0.9754 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.7713, allocations: 36 kB / 0.9754 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/0.7714, allocations: 30 kB / 0.9755 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.7727, allocations: 0.8315 MB / 0.9763 GB, free: 11.5 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.004675/0.7773, allocations: 3.509 MB / 0.9797 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006933/0.778, allocations: 0.4911 MB / 0.9802 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004091/0.7785, allocations: 297.9 kB / 0.9805 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.7787, allocations: 113.5 kB / 0.9806 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.7787, allocations: 42.94 kB / 0.9806 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 1.873e-06/0.7787, allocations: 0 / 0.9806 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003539/0.7823, allocations: 1.923 MB / 0.9825 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.7823, allocations: 55.84 kB / 0.9825 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008611/0.7832, allocations: 0.798 MB / 0.9833 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.7832, allocations: 37.7 kB / 0.9834 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.7835, allocations: 479.4 kB / 0.9838 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.7837, allocations: 177.5 kB / 0.984 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.7839, allocations: 114.2 kB / 0.9841 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.784, allocations: 333.9 kB / 0.9844 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/0.7844, allocations: 237.2 kB / 0.9846 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/0.7849, allocations: 361.2 kB / 0.985 GB, free: 2.141 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.003413/0.7883, allocations: 1.53 MB / 0.9865 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.7883, allocations: 0 / 0.9865 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00124/0.7896, allocations: 0.7846 MB / 0.9872 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7896, allocations: 8 kB / 0.9873 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7896, allocations: 5.562 kB / 0.9873 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.7899, allocations: 101.3 kB / 0.9874 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.7906, allocations: 143.9 kB / 0.9875 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.7933, allocations: 3.295 MB / 0.9907 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/0.7941, allocations: 23.92 kB / 0.9907 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.7941, allocations: 24 kB / 0.9908 GB, free: 11.88 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 (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.0004279/0.7945, allocations: 306.2 kB / 0.991 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.7947, allocations: 90.97 kB / 0.9911 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.7949, allocations: 104.7 kB / 0.9912 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.7949, allocations: 4 kB / 0.9912 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.7949, allocations: 0 / 0.9912 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/0.7959, allocations: 0.8387 MB / 0.9921 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.7984, allocations: 1.803 MB / 0.9938 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7984, allocations: 4.938 kB / 0.9938 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005718/0.799, allocations: 128.2 kB / 0.9939 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002111/0.7992, allocations: 72.75 kB / 0.994 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.7993, allocations: 16 kB / 0.994 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.8008, allocations: 1.777 MB / 0.9958 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.8008, allocations: 4.031 kB / 0.9958 GB, free: 6.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.8023, allocations: 1.069 MB / 0.9968 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.8026, allocations: 235.9 kB / 0.997 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.8027, allocations: 12 kB / 0.9971 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006331/0.8033, allocations: 41.59 kB / 0.9971 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.881e-05/0.8035, allocations: 47.83 kB / 0.9971 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/0.8035, allocations: 27.98 kB / 0.9972 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006676/0.8042, allocations: 0.5576 MB / 0.9977 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8042, allocations: 0 / 0.9977 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008046/0.805, allocations: 280 kB / 0.998 GB, free: 4.082 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.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.002069/0.8071, allocations: 1.718 MB / 0.9997 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.8083, allocations: 0.8116 MB / 1 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.8083, allocations: 0 / 1 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005239/0.8089, allocations: 411.4 kB / 1.001 GB, free: 1.051 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.8111, allocations: 0.6091 MB / 1.001 GB, free: 468 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008726/0.8199, allocations: 6.962 MB / 1.008 GB, free: 9.215 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.8206, allocations: 1.087 MB / 1.009 GB, free: 8.094 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007326/0.8213, allocations: 211.7 kB / 1.009 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/0.8217, allocations: 347.3 kB / 1.01 GB, free: 7.543 MB / 0.7637 GB Notification: Performance of SimCode: time 8.22e-07/0.8218, allocations: 0 / 1.01 GB, free: 7.543 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05906/0.8808, allocations: 28.51 MB / 1.038 GB, free: 11.57 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.83, allocations: 7.688 kB / 1.038 GB, free: 11.56 MB / 0.795 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)