Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001338/0.001338, allocations: 115.1 kB / 17.16 MB, free: 5.895 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.001438/0.001438, allocations: 215 kB / 20.13 MB, free: 2.949 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.392/1.392, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.00231/0.00231, allocations: 285.5 kB / 309.8 MB, free: 3.473 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.039/1.039, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.002658/0.002658, allocations: 95.84 kB / 0.7347 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4883, allocations: 95.35 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2208/0.7091, allocations: 193.9 MB / 1.017 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009291/0.7184, allocations: 5.698 MB / 1.023 GB, free: 1.844 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.7195, allocations: 55.56 kB / 1.023 GB, free: 1.789 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.721, allocations: 0.6019 MB / 1.023 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003695/0.7247, allocations: 1.672 MB / 1.025 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.7275, allocations: 1.211 MB / 1.026 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003046/0.7306, allocations: 2.516 MB / 1.029 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.7316, allocations: 0.817 MB / 1.029 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.7333, allocations: 1.086 MB / 1.031 GB, free: 9.855 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.7349, allocations: 0.8763 MB / 1.031 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.7351, allocations: 100 kB / 1.031 GB, free: 8.887 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.7378, allocations: 1.602 MB / 1.033 GB, free: 7.281 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005116/0.7383, allocations: 0.4908 MB / 1.034 GB, free: 6.789 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0006682/0.739, allocations: 0.6339 MB / 1.034 GB, free: 6.152 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.7417, allocations: 2.106 MB / 1.036 GB, free: 4.039 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7417, allocations: 4 kB / 1.036 GB, free: 4.035 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7417, allocations: 0 / 1.036 GB, free: 4.035 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.7418, allocations: 0 / 1.036 GB, free: 4.035 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002281/0.744, allocations: 1.517 MB / 1.038 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.7441, allocations: 11.97 kB / 1.038 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.042e-05/0.7441, allocations: 22 kB / 1.038 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.7443, allocations: 139.2 kB / 1.038 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.7461, allocations: 339 kB / 1.038 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.7474, allocations: 0.8123 MB / 1.039 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/0.7475, allocations: 66 kB / 1.039 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.7476, allocations: 87.94 kB / 1.039 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.7493, allocations: 1.067 MB / 1.04 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.7494, allocations: 7.984 kB / 1.04 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.87e-05/0.7495, allocations: 43.94 kB / 1.04 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.633e-05/0.7495, allocations: 30 kB / 1.04 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.751, allocations: 0.8314 MB / 1.041 GB, free: 14.93 MB / 0.7794 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.005375/0.7564, allocations: 4.275 MB / 1.045 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.757, allocations: 356.5 kB / 1.046 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.7573, allocations: 197.9 kB / 1.046 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.7575, allocations: 105.1 kB / 1.046 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.7575, allocations: 46.36 kB / 1.046 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=36): time 2.294e-06/0.7575, allocations: 0 / 1.046 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38): time 0.002435/0.7599, allocations: 1.349 MB / 1.047 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.76, allocations: 55.41 kB / 1.047 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.7613, allocations: 1.001 MB / 1.048 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/0.7613, allocations: 37.7 kB / 1.048 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.7617, allocations: 0.5002 MB / 1.049 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.7619, allocations: 142.8 kB / 1.049 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.7621, allocations: 126.2 kB / 1.049 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.7622, allocations: 330 kB / 1.049 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.7627, allocations: 233.2 kB / 1.05 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/0.7633, allocations: 435.3 kB / 1.05 GB, free: 5.289 MB / 0.7794 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.0025/0.7658, allocations: 1.218 MB / 1.051 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7658, allocations: 3.938 kB / 1.051 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001413/0.7672, allocations: 0.7661 MB / 1.052 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.7672, allocations: 11.94 kB / 1.052 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.7672, allocations: 12.03 kB / 1.052 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.7673, allocations: 8 kB / 1.052 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.7678, allocations: 135.8 kB / 1.052 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.7678, allocations: 19.92 kB / 1.052 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008486/0.7687, allocations: 59.91 kB / 1.052 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.7687, allocations: 24 kB / 1.052 GB, free: 2.934 MB / 0.7794 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: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004184/0.7692, allocations: 313.5 kB / 1.052 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.7693, allocations: 107.3 kB / 1.053 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.7695, allocations: 109 kB / 1.053 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.7695, allocations: 4 kB / 1.053 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7695, allocations: 4 kB / 1.053 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007167/0.7702, allocations: 0.6713 MB / 1.053 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.7726, allocations: 1.577 MB / 1.055 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.7726, allocations: 8.094 kB / 1.055 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.773, allocations: 91.83 kB / 1.055 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.773, allocations: 4 kB / 1.055 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.773, allocations: 15.94 kB / 1.055 GB, free: 15.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.773, allocations: 4 kB / 1.055 GB, free: 15.84 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.773, allocations: 7.938 kB / 1.055 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.7741, allocations: 0.8455 MB / 1.056 GB, free: 14.92 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003513/0.7744, allocations: 244.4 kB / 1.056 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.7745, allocations: 16 kB / 1.056 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006453/0.7752, allocations: 40.92 kB / 1.056 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.7753, allocations: 35.83 kB / 1.056 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.7753, allocations: 27.98 kB / 1.056 GB, free: 14.54 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000998/0.7763, allocations: 0.7077 MB / 1.057 GB, free: 13.82 MB / 0.795 GB Notification: Performance of sort global known variables: time 8e-08/0.7763, allocations: 0 / 1.057 GB, free: 13.82 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000792/0.7771, allocations: 259.9 kB / 1.057 GB, free: 13.57 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001572/0.7787, allocations: 1.472 MB / 1.059 GB, free: 12.02 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009225/0.7796, allocations: 487.9 kB / 1.059 GB, free: 11.55 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.7796, allocations: 0 / 1.059 GB, free: 11.55 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.7799, allocations: 185.3 kB / 1.059 GB, free: 11.37 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/0.7824, allocations: 0.6418 MB / 1.06 GB, free: 10.74 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.7928, allocations: 7.629 MB / 1.067 GB, free: 2.727 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007582/0.7936, allocations: 1.095 MB / 1.068 GB, free: 1.602 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0008515/0.7944, allocations: 248.4 kB / 1.069 GB, free: 1.355 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/0.7949, allocations: 347.3 kB / 1.069 GB, free: 1.016 MB / 0.795 GB Notification: Performance of SimCode: time 5.91e-07/0.7949, allocations: 0 / 1.069 GB, free: 1.016 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05583/0.8507, allocations: 28.02 MB / 1.096 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.376/10.23, allocations: 5.234 kB / 1.096 GB, free: 5.469 MB / 0.8262 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.07611673802603] Failed to read output from testmodel.py, exit status != 0: 10.364633981022052 10.378311481 9.633757254 Calling exit ...