Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001201/0.001201, 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.001388/0.001388, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.366/1.366, 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.002368/0.002368, allocations: 286.8 kB / 312.7 MB, free: 2.629 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.18/1.18, allocations: 180.6 MB / 0.5369 GB, free: 14.72 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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.002825/0.002825, allocations: 105.8 kB / 0.7395 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1774, allocations: 95.39 MB / 0.8327 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6129/0.7903, allocations: 168.4 MB / 0.9971 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009459/0.7997, allocations: 5.411 MB / 1.002 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.801, allocations: 57.25 kB / 1.002 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.8025, allocations: 0.5458 MB / 1.003 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.8074, allocations: 1.912 MB / 1.005 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.8106, allocations: 1.205 MB / 1.006 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004225/0.8148, allocations: 3 MB / 1.009 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.8159, allocations: 0.8089 MB / 1.01 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.8179, allocations: 1.133 MB / 1.011 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.8197, allocations: 1.001 MB / 1.012 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.8199, allocations: 125 kB / 1.012 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.8225, allocations: 1.208 MB / 1.013 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005213/0.823, allocations: 0.5892 MB / 1.014 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006684/0.8237, allocations: 0.5986 MB / 1.014 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.8262, allocations: 2.314 MB / 1.017 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8262, allocations: 1.312 kB / 1.017 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8262, allocations: 4.656 kB / 1.017 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.8262, allocations: 0 / 1.017 GB, free: 3.109 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002551/0.8288, allocations: 1.583 MB / 1.018 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.8288, allocations: 10.94 kB / 1.018 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.829, allocations: 160.2 kB / 1.018 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.8308, allocations: 331.2 kB / 1.019 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.8325, allocations: 0.8554 MB / 1.019 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.988e-05/0.8325, allocations: 75.38 kB / 1.019 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.8327, allocations: 100.2 kB / 1.02 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.8346, allocations: 1.533 MB / 1.021 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.8347, allocations: 3.938 kB / 1.021 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.744e-05/0.8348, allocations: 39.09 kB / 1.021 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.961e-05/0.8348, allocations: 43.2 kB / 1.021 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.8363, allocations: 0.9875 MB / 1.022 GB, free: 17.32 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.005015/0.8413, allocations: 2.896 MB / 1.025 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.842, allocations: 0.5662 MB / 1.025 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.8424, allocations: 324.9 kB / 1.026 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.8426, allocations: 30.56 kB / 1.026 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.8426, allocations: 45.09 kB / 1.026 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 2.735e-06/0.8426, allocations: 0 / 1.026 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.003483/0.8461, allocations: 1.912 MB / 1.028 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.8461, allocations: 60.47 kB / 1.028 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000956/0.8471, allocations: 0.8871 MB / 1.029 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.8472, allocations: 37.08 kB / 1.029 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.8475, allocations: 0.5307 MB / 1.029 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.8476, allocations: 207.7 kB / 1.029 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.8478, allocations: 130.6 kB / 1.03 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.8479, allocations: 336 kB / 1.03 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.8483, allocations: 290.6 kB / 1.03 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.8488, allocations: 489.5 kB / 1.031 GB, free: 15.12 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.003249/0.8521, allocations: 1.673 MB / 1.032 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8521, allocations: 0 / 1.032 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001236/0.8533, allocations: 0.9279 MB / 1.033 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8533, allocations: 6.094 kB / 1.033 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.8533, allocations: 7.844 kB / 1.033 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/0.8535, allocations: 97.12 kB / 1.033 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.8541, allocations: 161.9 kB / 1.033 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/0.8575, allocations: 4.328 MB / 1.038 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000864/0.8584, allocations: 27.78 kB / 1.038 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.8584, allocations: 27.97 kB / 1.038 GB, free: 11.16 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005317/0.859, allocations: 351.8 kB / 1.038 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.8591, allocations: 111.2 kB / 1.038 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.8593, allocations: 110.7 kB / 1.038 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.8593, allocations: 6.281 kB / 1.038 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.8593, allocations: 1.031 kB / 1.038 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009772/0.8603, allocations: 0.7651 MB / 1.039 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.8629, allocations: 1.807 MB / 1.041 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.8629, allocations: 2.719 kB / 1.041 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/0.8635, allocations: 147 kB / 1.041 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.061e-05/0.8636, allocations: 40.91 kB / 1.041 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.8637, allocations: 14.73 kB / 1.041 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.8649, allocations: 1.504 MB / 1.042 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8649, allocations: 4.406 kB / 1.042 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.8663, allocations: 1.212 MB / 1.044 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004351/0.8668, allocations: 186.8 kB / 1.044 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.8669, allocations: 17.97 kB / 1.044 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/0.8675, allocations: 30.75 kB / 1.044 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.8676, allocations: 51.67 kB / 1.044 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/0.8677, allocations: 32.45 kB / 1.044 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006329/0.8683, allocations: 0.6124 MB / 1.044 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8683, allocations: 7.531 kB / 1.044 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000826/0.8692, allocations: 301.7 kB / 1.045 GB, free: 8.594 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001965/0.8711, allocations: 1.828 MB / 1.047 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.8724, allocations: 0.9834 MB / 1.048 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8724, allocations: 2.312 kB / 1.048 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005554/0.873, allocations: 436.8 kB / 1.048 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.8755, allocations: 0.653 MB / 1.049 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.8856, allocations: 7.969 MB / 1.056 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.8862, allocations: 0.5802 MB / 1.057 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008962/0.8871, allocations: 248.7 kB / 1.057 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005131/0.8876, allocations: 379.7 kB / 1.058 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.8876, allocations: 2.25 kB / 1.058 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07406/0.9617, allocations: 33.59 MB / 1.09 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.83, allocations: 4 kB / 1.09 GB, free: 11.26 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.900893988087773] Failed to read output from testmodel.py, exit status != 0: 13.96271127089858 13.98866918 13.159377629 Calling exit ...