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.001273/0.001273, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001349/0.001349, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002363/0.002363, allocations: 289.8 kB / 313.5 MB, free: 2.789 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.129/1.129, allocations: 180.6 MB / 0.5377 GB, free: 12.99 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.002649/0.002649, allocations: 91.14 kB / 0.7404 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.174, allocations: 95.4 MB / 0.8335 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5965/0.7706, allocations: 194.5 MB / 1.023 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007957/0.7785, allocations: 5.747 MB / 1.029 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.7801, allocations: 59.19 kB / 1.029 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.7815, allocations: 0.6091 MB / 1.03 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004837/0.7863, allocations: 1.945 MB / 1.032 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.7893, allocations: 1.237 MB / 1.033 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003721/0.7931, allocations: 3.024 MB / 1.036 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009311/0.794, allocations: 0.748 MB / 1.037 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.7956, allocations: 1.121 MB / 1.038 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.7972, allocations: 0.9833 MB / 1.039 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.7973, allocations: 109.6 kB / 1.039 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.8, allocations: 1.548 MB / 1.04 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003547/0.8003, allocations: 475.8 kB / 1.041 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005506/0.8009, allocations: 0.6503 MB / 1.041 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.8033, allocations: 2.15 MB / 1.043 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8033, allocations: 0 / 1.043 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8033, allocations: 0 / 1.043 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.8033, allocations: 1.031 kB / 1.043 GB, free: 2.246 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.002209/0.8055, allocations: 1.469 MB / 1.045 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.8055, allocations: 11.25 kB / 1.045 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.453e-05/0.8055, allocations: 30.62 kB / 1.045 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.8057, allocations: 138.5 kB / 1.045 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.8074, allocations: 321 kB / 1.045 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.8086, allocations: 0.7924 MB / 1.046 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.8086, allocations: 62.02 kB / 1.046 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.8087, allocations: 87.95 kB / 1.046 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.81, allocations: 0.908 MB / 1.047 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.81, allocations: 0.9688 kB / 1.047 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/0.8101, allocations: 38.97 kB / 1.047 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.8102, allocations: 28.59 kB / 1.047 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.8113, allocations: 0.8324 MB / 1.048 GB, free: 17.07 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.0045/0.8158, allocations: 3.456 MB / 1.051 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.8164, allocations: 478.5 kB / 1.052 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.8168, allocations: 273.6 kB / 1.052 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.8169, allocations: 25.58 kB / 1.052 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.817, allocations: 42.31 kB / 1.052 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 1.743e-06/0.817, allocations: 2.75 kB / 1.052 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003271/0.8202, allocations: 1.709 MB / 1.054 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.8203, allocations: 63.14 kB / 1.054 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007853/0.8211, allocations: 0.8051 MB / 1.055 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.8211, allocations: 36.95 kB / 1.055 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.8214, allocations: 486.9 kB / 1.055 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.8216, allocations: 185.8 kB / 1.055 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.8218, allocations: 115.8 kB / 1.055 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8219, allocations: 330.1 kB / 1.056 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.8223, allocations: 242.6 kB / 1.056 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.8228, allocations: 357 kB / 1.056 GB, free: 13.4 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.003363/0.8261, allocations: 1.457 MB / 1.058 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8261, allocations: 0 / 1.058 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001217/0.8273, allocations: 0.7847 MB / 1.059 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.8274, allocations: 10.03 kB / 1.059 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.8274, allocations: 2.938 kB / 1.059 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002739/0.8276, allocations: 96.31 kB / 1.059 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.8282, allocations: 145.5 kB / 1.059 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/0.8311, allocations: 3.105 MB / 1.062 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008205/0.8319, allocations: 22.81 kB / 1.062 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/0.832, allocations: 25.23 kB / 1.062 GB, free: 9.77 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.0005517/0.8325, allocations: 300.1 kB / 1.062 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.8327, allocations: 95.23 kB / 1.062 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.8328, allocations: 102.7 kB / 1.062 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.8328, allocations: 9.094 kB / 1.062 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.8329, allocations: 1.312 kB / 1.062 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001055/0.8339, allocations: 0.84 MB / 1.063 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.8367, allocations: 1.761 MB / 1.065 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.8367, allocations: 3.312 kB / 1.065 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/0.8373, allocations: 128.5 kB / 1.065 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.8375, allocations: 70.09 kB / 1.065 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.8375, allocations: 18.25 kB / 1.065 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.8392, allocations: 1.686 MB / 1.067 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.8392, allocations: 9.25 kB / 1.067 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.8407, allocations: 1.075 MB / 1.068 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.8411, allocations: 168.5 kB / 1.068 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.8412, allocations: 17.56 kB / 1.068 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/0.8418, allocations: 36.59 kB / 1.068 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.8419, allocations: 48.23 kB / 1.068 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/0.842, allocations: 26.45 kB / 1.068 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006753/0.8427, allocations: 0.5658 MB / 1.069 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8427, allocations: 3.094 kB / 1.069 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007996/0.8435, allocations: 283.8 kB / 1.069 GB, free: 5.328 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.001949/0.8454, allocations: 1.687 MB / 1.071 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.8466, allocations: 0.7749 MB / 1.071 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8466, allocations: 2.406 kB / 1.071 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005481/0.8472, allocations: 402.6 kB / 1.072 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/0.8497, allocations: 0.6165 MB / 1.072 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008789/0.8585, allocations: 7.004 MB / 1.079 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/0.8592, allocations: 1.084 MB / 1.08 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007175/0.8599, allocations: 214.6 kB / 1.08 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004599/0.8604, allocations: 339.9 kB / 1.081 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of SimCode: time 1.042e-06/0.8604, allocations: 4 kB / 1.081 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06379/0.9242, allocations: 28.71 MB / 1.109 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.22, allocations: 11.56 kB / 1.109 GB, free: 1.871 MB / 0.7637 GB " [Timeout remaining time 646] (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.200724327994976] Failed to read output from testmodel.py, exit status != 0: 14.39577627799008 14.411465674 13.605185119 Calling exit ...