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.001325/0.001325, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001466/0.001466, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.349/1.349, allocations: 230.6 MB / 256 MB, free: 7.805 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.002459/0.002459, allocations: 290.2 kB / 312.7 MB, free: 2.625 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.152/1.152, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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.002808/0.002808, allocations: 106.1 kB / 0.7395 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1636, allocations: 95.38 MB / 0.8327 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5809/0.7445, allocations: 165.6 MB / 0.9943 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01392/0.7584, allocations: 12.02 MB / 1.006 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.7597, allocations: 48 kB / 1.006 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.7609, allocations: 426.3 kB / 1.007 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.7637, allocations: 1.205 MB / 1.008 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.7655, allocations: 0.7277 MB / 1.008 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.7677, allocations: 2.052 MB / 1.01 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007487/0.7684, allocations: 0.6128 MB / 1.011 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003613/0.772, allocations: 1.86 MB / 1.013 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.7736, allocations: 0.6838 MB / 1.014 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.7737, allocations: 80.11 kB / 1.014 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.7752, allocations: 0.741 MB / 1.014 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.7755, allocations: 393 kB / 1.015 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004407/0.7759, allocations: 418.4 kB / 1.015 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.7775, allocations: 1.489 MB / 1.017 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7775, allocations: 1.094 kB / 1.017 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7775, allocations: 0.9688 kB / 1.017 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.7775, allocations: 0 / 1.017 GB, free: 3.172 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.00172/0.7792, allocations: 1.189 MB / 1.018 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.7793, allocations: 10.59 kB / 1.018 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.7794, allocations: 126.2 kB / 1.018 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.7804, allocations: 217.4 kB / 1.018 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000989/0.7814, allocations: 0.6119 MB / 1.019 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.7814, allocations: 56.91 kB / 1.019 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.7815, allocations: 81.02 kB / 1.019 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.7827, allocations: 1.055 MB / 1.02 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.7827, allocations: 4.469 kB / 1.02 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-05/0.7828, allocations: 38.28 kB / 1.02 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.7828, allocations: 32.86 kB / 1.02 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008143/0.7836, allocations: 0.6187 MB / 1.02 GB, free: 17.77 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.003457/0.7871, allocations: 3.737 MB / 1.024 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.7877, allocations: 461.9 kB / 1.025 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.7879, allocations: 231.9 kB / 1.025 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.7881, allocations: 25.03 kB / 1.025 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.7881, allocations: 45.5 kB / 1.025 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.873e-06/0.7881, allocations: 0.9062 kB / 1.025 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002126/0.7902, allocations: 1.536 MB / 1.026 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.7903, allocations: 112.3 kB / 1.026 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006313/0.7909, allocations: 0.722 MB / 1.027 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.791, allocations: 37.48 kB / 1.027 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.7912, allocations: 428.5 kB / 1.028 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.714e-05/0.7913, allocations: 171.8 kB / 1.028 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.7914, allocations: 123.7 kB / 1.028 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.7916, allocations: 324.7 kB / 1.028 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.7918, allocations: 191 kB / 1.028 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.7922, allocations: 0.5601 MB / 1.029 GB, free: 13.32 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.001787/0.794, allocations: 1.104 MB / 1.03 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.794, allocations: 2.594 kB / 1.03 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008015/0.7948, allocations: 0.6772 MB / 1.031 GB, free: 13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7948, allocations: 6.469 kB / 1.031 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7948, allocations: 8.5 kB / 1.031 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.7948, allocations: 13.83 kB / 1.031 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.7952, allocations: 131.6 kB / 1.031 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.7952, allocations: 10.83 kB / 1.031 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.7957, allocations: 30.62 kB / 1.031 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.7958, allocations: 29.25 kB / 1.031 GB, free: 12.99 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.0002991/0.7961, allocations: 272.8 kB / 1.031 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.7962, allocations: 90.84 kB / 1.031 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.7964, allocations: 87.14 kB / 1.031 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.7964, allocations: 6 kB / 1.031 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7964, allocations: 3.625 kB / 1.031 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006675/0.797, allocations: 0.6967 MB / 1.032 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.799, allocations: 1.52 MB / 1.034 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.799, allocations: 6.438 kB / 1.034 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.7994, allocations: 104.8 kB / 1.034 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.7994, allocations: 5.188 kB / 1.034 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.7994, allocations: 15.84 kB / 1.034 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.7994, allocations: 8.125 kB / 1.034 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7994, allocations: 8.531 kB / 1.034 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009289/0.8003, allocations: 0.8716 MB / 1.034 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.8006, allocations: 140.3 kB / 1.035 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-05/0.8007, allocations: 14.84 kB / 1.035 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.8011, allocations: 21.31 kB / 1.035 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.8012, allocations: 40.66 kB / 1.035 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.8012, allocations: 23.19 kB / 1.035 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005141/0.8017, allocations: 0.5073 MB / 1.035 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8017, allocations: 2.188 kB / 1.035 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006158/0.8023, allocations: 204.7 kB / 1.035 GB, free: 11.34 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.001453/0.8038, allocations: 1.486 MB / 1.037 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005898/0.8044, allocations: 463 kB / 1.037 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8044, allocations: 0 / 1.037 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.8046, allocations: 206.2 kB / 1.038 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.8064, allocations: 482.8 kB / 1.038 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007286/0.8137, allocations: 6.647 MB / 1.044 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.814, allocations: 436.7 kB / 1.045 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005877/0.8146, allocations: 204.9 kB / 1.045 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.8149, allocations: 295.1 kB / 1.045 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.8149, allocations: 3.938 kB / 1.045 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05769/0.8726, allocations: 24.61 MB / 1.069 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.28, allocations: 6.859 kB / 1.069 GB, free: 15.12 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.2784067010507] Failed to read output from testmodel.py, exit status != 0: 12.407863435801119 12.423699046 11.643200865 Calling exit ...