Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001371/0.001371, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.001526/0.001526, allocations: 212 kB / 19.43 MB, free: 3.637 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.363/1.363, allocations: 230.6 MB / 252.8 MB, free: 9.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002358/0.002358, allocations: 289.4 kB / 309.1 MB, free: 4.004 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.171/1.171, allocations: 180.9 MB / 0.5333 GB, free: 13.92 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 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.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",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.002678/0.002678, allocations: 100.8 kB / 0.7343 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1528, allocations: 95.34 MB / 0.8274 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6015/0.7543, allocations: 190.8 MB / 1.014 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.7664, allocations: 13.14 MB / 1.027 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.7678, allocations: 45.11 kB / 1.027 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.769, allocations: 439.1 kB / 1.027 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.7716, allocations: 1.208 MB / 1.028 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.7732, allocations: 0.7093 MB / 1.029 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002101/0.7753, allocations: 2.021 MB / 1.031 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007817/0.7761, allocations: 0.6936 MB / 1.032 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/0.7792, allocations: 1.887 MB / 1.033 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.7805, allocations: 0.7129 MB / 1.034 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.7806, allocations: 80.81 kB / 1.034 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.7822, allocations: 0.9194 MB / 1.035 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.7825, allocations: 398.2 kB / 1.035 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003985/0.7829, allocations: 0.5003 MB / 1.036 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.7845, allocations: 1.501 MB / 1.037 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7845, allocations: 0.9375 kB / 1.037 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7845, allocations: 0 / 1.037 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.7845, allocations: 0.8125 kB / 1.037 GB, free: 2.133 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001632/0.7861, allocations: 1.263 MB / 1.039 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.7862, allocations: 10.91 kB / 1.039 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/0.7863, allocations: 129 kB / 1.039 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.7874, allocations: 221.3 kB / 1.039 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008985/0.7883, allocations: 0.6822 MB / 1.04 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.7883, allocations: 60.56 kB / 1.04 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/0.7884, allocations: 75.5 kB / 1.04 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.7894, allocations: 0.9346 MB / 1.041 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.7895, allocations: 5.625 kB / 1.041 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/0.7895, allocations: 34.19 kB / 1.041 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.7896, allocations: 31.84 kB / 1.041 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008114/0.7904, allocations: 0.617 MB / 1.041 GB, free: 16.73 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.003805/0.7942, allocations: 4.59 MB / 1.046 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.7948, allocations: 0.5329 MB / 1.046 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.7951, allocations: 233.8 kB / 1.047 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.7953, allocations: 97.64 kB / 1.047 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.7953, allocations: 46.81 kB / 1.047 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.7953, allocations: 0 / 1.047 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002297/0.7976, allocations: 1.62 MB / 1.048 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.7977, allocations: 111.9 kB / 1.048 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006826/0.7984, allocations: 0.7155 MB / 1.049 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.7984, allocations: 36.67 kB / 1.049 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.7986, allocations: 426.4 kB / 1.05 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.7987, allocations: 169.9 kB / 1.05 GB, free: 12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.7989, allocations: 120.7 kB / 1.05 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.799, allocations: 330.1 kB / 1.05 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.7993, allocations: 186.4 kB / 1.05 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.7997, allocations: 416.4 kB / 1.051 GB, free: 11.42 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.8018, allocations: 1.173 MB / 1.052 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.8018, allocations: 2.812 kB / 1.052 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008699/0.8026, allocations: 0.6742 MB / 1.053 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8027, allocations: 9.219 kB / 1.053 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.8027, allocations: 11.31 kB / 1.053 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.8027, allocations: 11.62 kB / 1.053 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.8031, allocations: 128.1 kB / 1.053 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.8031, allocations: 8.031 kB / 1.053 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.8036, allocations: 29.36 kB / 1.053 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.8037, allocations: 31.23 kB / 1.053 GB, free: 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0003298/0.804, allocations: 274 kB / 1.053 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.8041, allocations: 84.8 kB / 1.053 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.8043, allocations: 96.42 kB / 1.053 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.8043, allocations: 5.281 kB / 1.053 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.8043, allocations: 0 / 1.053 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006721/0.805, allocations: 0.7018 MB / 1.054 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.8071, allocations: 1.648 MB / 1.055 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8071, allocations: 3.594 kB / 1.055 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.8075, allocations: 102 kB / 1.056 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.8076, allocations: 8.656 kB / 1.056 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.8076, allocations: 18.67 kB / 1.056 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.8076, allocations: 10.16 kB / 1.056 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.8076, allocations: 8.406 kB / 1.056 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009954/0.8086, allocations: 0.8704 MB / 1.056 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.8089, allocations: 211.7 kB / 1.057 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.201e-05/0.809, allocations: 22.77 kB / 1.057 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.8094, allocations: 22.42 kB / 1.057 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.8094, allocations: 41.05 kB / 1.057 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.8095, allocations: 22.72 kB / 1.057 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005606/0.81, allocations: 0.5102 MB / 1.057 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/0.81, allocations: 0 / 1.057 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006779/0.8107, allocations: 200.5 kB / 1.057 GB, free: 8.43 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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): 45 * 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.001568/0.8123, allocations: 1.484 MB / 1.059 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006915/0.813, allocations: 464.5 kB / 1.059 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.813, allocations: 4.062 kB / 1.059 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.8132, allocations: 204.8 kB / 1.06 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.8152, allocations: 486.3 kB / 1.06 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007877/0.823, allocations: 6.644 MB / 1.067 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/0.8237, allocations: 1.023 MB / 1.068 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006924/0.8244, allocations: 200.1 kB / 1.068 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/0.8248, allocations: 298.7 kB / 1.068 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/0.8248, allocations: 2.781 kB / 1.068 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05577/0.8806, allocations: 22.31 MB / 1.09 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.909/9.789, allocations: 0 / 1.09 GB, free: 1.047 MB / 0.7481 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.750510024372488] Failed to read output from testmodel.py, exit status != 0: 9.87319132592529 9.899457728 9.110168934 Calling exit ...