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.001234/0.001234, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.001399/0.001399, allocations: 218.1 kB / 22.26 MB, free: 5.215 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.338/1.338, allocations: 230.6 MB / 256 MB, free: 8.016 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.002365/0.002365, allocations: 290.1 kB / 312.7 MB, free: 2.824 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.157/1.157, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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.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.002707/0.002707, allocations: 104.1 kB / 0.7396 GB, free: 28.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1721, allocations: 95.38 MB / 0.8328 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6033/0.7754, allocations: 191.2 MB / 1.019 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0133/0.7887, allocations: 13.24 MB / 1.032 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.7907, allocations: 46 kB / 1.032 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.7921, allocations: 444.1 kB / 1.033 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.7953, allocations: 1.227 MB / 1.034 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.7974, allocations: 0.7364 MB / 1.035 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002824/0.8002, allocations: 2.068 MB / 1.037 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008876/0.8011, allocations: 0.6185 MB / 1.037 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003877/0.805, allocations: 1.926 MB / 1.039 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.8066, allocations: 0.7123 MB / 1.04 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.8067, allocations: 81.66 kB / 1.04 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.8085, allocations: 0.9411 MB / 1.041 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003434/0.8088, allocations: 400.2 kB / 1.041 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004994/0.8093, allocations: 0.4998 MB / 1.042 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.8112, allocations: 1.5 MB / 1.043 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8112, allocations: 0.9062 kB / 1.043 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8112, allocations: 3.094 kB / 1.043 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.8113, allocations: 0 / 1.043 GB, free: 2.305 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.001666/0.8129, allocations: 1.186 MB / 1.044 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.813, allocations: 12.53 kB / 1.044 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.8131, allocations: 119.8 kB / 1.045 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.8141, allocations: 223.7 kB / 1.045 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009877/0.8151, allocations: 0.6125 MB / 1.045 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.8151, allocations: 59.53 kB / 1.045 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.529e-05/0.8152, allocations: 75.34 kB / 1.046 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.8163, allocations: 0.9313 MB / 1.046 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.8163, allocations: 5.281 kB / 1.046 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/0.8164, allocations: 31.06 kB / 1.046 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.8164, allocations: 33.34 kB / 1.047 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008266/0.8172, allocations: 0.6227 MB / 1.047 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.004049/0.8213, allocations: 4.535 MB / 1.052 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.8219, allocations: 468.4 kB / 1.052 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.8222, allocations: 237.7 kB / 1.052 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.8223, allocations: 22.2 kB / 1.052 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.8224, allocations: 41.56 kB / 1.052 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.864e-06/0.8224, allocations: 1 kB / 1.052 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002368/0.8247, allocations: 1.54 MB / 1.054 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.8248, allocations: 108.8 kB / 1.054 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007153/0.8255, allocations: 0.7162 MB / 1.055 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/0.8256, allocations: 35.14 kB / 1.055 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.8258, allocations: 426 kB / 1.055 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.8259, allocations: 165 kB / 1.055 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.8261, allocations: 122.3 kB / 1.055 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.8262, allocations: 331.1 kB / 1.056 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.8265, allocations: 188.6 kB / 1.056 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.8269, allocations: 414 kB / 1.056 GB, free: 12.06 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.001989/0.8288, allocations: 1.104 MB / 1.057 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8288, allocations: 0 / 1.057 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009258/0.8298, allocations: 0.6786 MB / 1.058 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8298, allocations: 8.688 kB / 1.058 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.8298, allocations: 9.938 kB / 1.058 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.8298, allocations: 8.531 kB / 1.058 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.8302, allocations: 128.8 kB / 1.058 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.8302, allocations: 13.28 kB / 1.058 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.8308, allocations: 30.88 kB / 1.058 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.8308, allocations: 35.27 kB / 1.058 GB, free: 11.48 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.0003668/0.8312, allocations: 280.3 kB / 1.058 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.8313, allocations: 84.95 kB / 1.059 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.8315, allocations: 92.03 kB / 1.059 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.8315, allocations: 5.156 kB / 1.059 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.8315, allocations: 1.844 kB / 1.059 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007006/0.8322, allocations: 0.7076 MB / 1.059 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.8345, allocations: 1.61 MB / 1.061 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.8345, allocations: 8.906 kB / 1.061 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/0.8349, allocations: 98.52 kB / 1.061 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.8349, allocations: 5.406 kB / 1.061 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.8349, allocations: 21.81 kB / 1.061 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.8349, allocations: 10.59 kB / 1.061 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8349, allocations: 8.344 kB / 1.061 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.836, allocations: 0.8647 MB / 1.062 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.8363, allocations: 131.1 kB / 1.062 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.8364, allocations: 18.81 kB / 1.062 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.8368, allocations: 26.27 kB / 1.062 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.8369, allocations: 40.22 kB / 1.062 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.8369, allocations: 19.91 kB / 1.062 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005725/0.8375, allocations: 0.5101 MB / 1.063 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8375, allocations: 0.9375 kB / 1.063 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007034/0.8382, allocations: 199.8 kB / 1.063 GB, free: 8.852 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.001612/0.8398, allocations: 1.481 MB / 1.064 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007552/0.8405, allocations: 470.6 kB / 1.065 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8405, allocations: 0 / 1.065 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.8408, allocations: 210.4 kB / 1.065 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.8427, allocations: 483.5 kB / 1.065 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008496/0.8512, allocations: 6.641 MB / 1.072 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.8518, allocations: 1.025 MB / 1.073 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000696/0.8525, allocations: 208.1 kB / 1.073 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.8529, allocations: 298.1 kB / 1.073 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of SimCode: time 1.132e-06/0.8529, allocations: 0 / 1.073 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06164/0.9146, allocations: 22.79 MB / 1.096 GB, free: 0.5469 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.13, allocations: 15.97 kB / 1.096 GB, free: 0.5312 MB / 0.7481 GB " [Timeout remaining time 648] (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: 16.077311911001743] Failed to read output from testmodel.py, exit status != 0: 12.243100487998163 12.259020765 11.444645056 Calling exit ...