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.001204/0.001204, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.001306/0.001306, allocations: 220 kB / 23.05 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.329/1.329, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] 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.002353/0.002353, allocations: 284.9 kB / 313.5 MB, free: 2.879 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.142/1.142, allocations: 180.6 MB / 0.5377 GB, free: 12.91 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.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.002652/0.002652, allocations: 106.8 kB / 0.7403 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1552, allocations: 95.38 MB / 0.8335 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5698/0.7249, allocations: 194.3 MB / 1.023 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00809/0.733, allocations: 5.722 MB / 1.029 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.7346, allocations: 55.88 kB / 1.029 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.736, allocations: 0.5959 MB / 1.029 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.7399, allocations: 1.708 MB / 1.031 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.7428, allocations: 1.241 MB / 1.032 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003157/0.746, allocations: 2.577 MB / 1.035 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009423/0.7469, allocations: 0.7238 MB / 1.036 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.7486, allocations: 1.085 MB / 1.037 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.75, allocations: 0.8737 MB / 1.037 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.7502, allocations: 101 kB / 1.038 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.7529, allocations: 1.632 MB / 1.039 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004288/0.7534, allocations: 0.4954 MB / 1.04 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005859/0.754, allocations: 0.6273 MB / 1.04 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.7566, allocations: 2.106 MB / 1.042 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7566, allocations: 0.9688 kB / 1.042 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7566, allocations: 0 / 1.042 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.7566, allocations: 7.375 kB / 1.042 GB, free: 2.281 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002109/0.7587, allocations: 1.438 MB / 1.044 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.7587, allocations: 10.78 kB / 1.044 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.105e-05/0.7588, allocations: 24.94 kB / 1.044 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.7589, allocations: 139.4 kB / 1.044 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.7606, allocations: 334.6 kB / 1.044 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.7619, allocations: 0.7434 MB / 1.045 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/0.7619, allocations: 64.59 kB / 1.045 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.762, allocations: 80.94 kB / 1.045 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.7636, allocations: 1.082 MB / 1.046 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.7636, allocations: 0.8438 kB / 1.046 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.95e-05/0.7637, allocations: 36.81 kB / 1.046 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.7638, allocations: 36.03 kB / 1.046 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.765, allocations: 0.8324 MB / 1.047 GB, free: 17.01 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.004839/0.7698, allocations: 4.212 MB / 1.051 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.7703, allocations: 353 kB / 1.051 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.7706, allocations: 205.8 kB / 1.052 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.7707, allocations: 24.58 kB / 1.052 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.7708, allocations: 42.06 kB / 1.052 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.773e-06/0.7708, allocations: 0 / 1.052 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002162/0.7729, allocations: 1.269 MB / 1.053 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.773, allocations: 58.12 kB / 1.053 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.7741, allocations: 1.004 MB / 1.054 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.7742, allocations: 37.7 kB / 1.054 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.7745, allocations: 0.4961 MB / 1.055 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.438e-05/0.7746, allocations: 145.9 kB / 1.055 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.7747, allocations: 124.3 kB / 1.055 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.7749, allocations: 332.9 kB / 1.055 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.7753, allocations: 234 kB / 1.055 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/0.7758, allocations: 432.7 kB / 1.056 GB, free: 12.93 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.002229/0.778, allocations: 1.14 MB / 1.057 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.778, allocations: 0 / 1.057 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001271/0.7793, allocations: 0.7685 MB / 1.058 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7793, allocations: 10.03 kB / 1.058 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.7793, allocations: 6.438 kB / 1.058 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.7794, allocations: 15.16 kB / 1.058 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/0.7799, allocations: 141.6 kB / 1.058 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.7799, allocations: 14.56 kB / 1.058 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008292/0.7807, allocations: 60.72 kB / 1.058 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.7808, allocations: 26.5 kB / 1.058 GB, free: 12.11 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: 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.0004137/0.7812, allocations: 317 kB / 1.058 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.7813, allocations: 99.64 kB / 1.058 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.7815, allocations: 106 kB / 1.058 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.7815, allocations: 7.531 kB / 1.058 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.7815, allocations: 0.8438 kB / 1.058 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006729/0.7822, allocations: 0.6848 MB / 1.059 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.7845, allocations: 1.549 MB / 1.061 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.7845, allocations: 1.875 kB / 1.061 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.7849, allocations: 90.12 kB / 1.061 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.7849, allocations: 5.188 kB / 1.061 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.7849, allocations: 13.5 kB / 1.061 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.7849, allocations: 6.312 kB / 1.061 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.7849, allocations: 13.34 kB / 1.061 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.786, allocations: 0.8352 MB / 1.061 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/0.7863, allocations: 167.2 kB / 1.062 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.7865, allocations: 24.47 kB / 1.062 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/0.7871, allocations: 33.72 kB / 1.062 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.7872, allocations: 38.95 kB / 1.062 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.7872, allocations: 27.22 kB / 1.062 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009284/0.7881, allocations: 0.7083 MB / 1.062 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7881, allocations: 0 / 1.062 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008249/0.789, allocations: 258.5 kB / 1.063 GB, free: 9.527 MB / 0.7325 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.001558/0.7905, allocations: 1.471 MB / 1.064 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008775/0.7914, allocations: 489.6 kB / 1.065 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.7914, allocations: 2.281 kB / 1.065 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.7916, allocations: 179.5 kB / 1.065 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.7942, allocations: 0.6333 MB / 1.065 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.8046, allocations: 7.637 MB / 1.073 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007681/0.8053, allocations: 1.095 MB / 1.074 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000948/0.8063, allocations: 250.5 kB / 1.074 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.8067, allocations: 345.7 kB / 1.074 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/0.8067, allocations: 7.094 kB / 1.074 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06179/0.8685, allocations: 28.52 MB / 1.102 GB, free: 8.277 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.98, allocations: 7.812 kB / 1.102 GB, free: 8.273 MB / 0.7637 GB " [Timeout remaining time 647] (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: 16.910561858967412] Failed to read output from testmodel.py, exit status != 0: 13.152541361982003 13.166791114 12.407357788 Calling exit ...