Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001236/0.001236, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.001437/0.001437, allocations: 214 kB / 22.25 MB, free: 5.082 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.344/1.344, allocations: 230.6 MB / 256 MB, free: 8.02 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.002401/0.002401, allocations: 289.4 kB / 312.7 MB, free: 2.812 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.14/1.14, allocations: 180.6 MB / 0.5369 GB, free: 12.95 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.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.002737/0.002737, allocations: 109 kB / 0.7396 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1679, allocations: 95.39 MB / 0.8328 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6076/0.7755, allocations: 191 MB / 1.019 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.7893, allocations: 13.2 MB / 1.032 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.7908, allocations: 42.16 kB / 1.032 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.7921, allocations: 422.1 kB / 1.033 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.7943, allocations: 0.9797 MB / 1.034 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.7961, allocations: 0.7479 MB / 1.034 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001972/0.7981, allocations: 1.53 MB / 1.036 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007047/0.7988, allocations: 0.4978 MB / 1.036 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/0.8024, allocations: 1.815 MB / 1.038 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.8038, allocations: 0.5479 MB / 1.039 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.689e-05/0.8038, allocations: 55.88 kB / 1.039 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.8054, allocations: 0.9254 MB / 1.04 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.8056, allocations: 284.2 kB / 1.04 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.806, allocations: 392.1 kB / 1.04 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.8075, allocations: 1.169 MB / 1.041 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8075, allocations: 3.188 kB / 1.041 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8075, allocations: 0.9062 kB / 1.041 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.8075, allocations: 0 / 1.041 GB, free: 2.449 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001382/0.8089, allocations: 1.003 MB / 1.042 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.809, allocations: 12.03 kB / 1.042 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.929e-05/0.8091, allocations: 100.5 kB / 1.042 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008284/0.8099, allocations: 201.3 kB / 1.043 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007628/0.8106, allocations: 497.5 kB / 1.043 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.8107, allocations: 50.19 kB / 1.043 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.8107, allocations: 58.59 kB / 1.043 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008916/0.8116, allocations: 0.7721 MB / 1.044 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.8116, allocations: 3.188 kB / 1.044 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.8117, allocations: 28.53 kB / 1.044 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.8117, allocations: 27.62 kB / 1.044 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007269/0.8124, allocations: 464.8 kB / 1.044 GB, free: 17.22 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.003619/0.8161, allocations: 4.331 MB / 1.049 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.8162, allocations: 101.2 kB / 1.049 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.8163, allocations: 71.64 kB / 1.049 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.8164, allocations: 18.55 kB / 1.049 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.8164, allocations: 44.81 kB / 1.049 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.8164, allocations: 0 / 1.049 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006251/0.817, allocations: 246.6 kB / 1.049 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.8171, allocations: 129.5 kB / 1.049 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009466/0.8181, allocations: 0.8436 MB / 1.05 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.8181, allocations: 29.77 kB / 1.05 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.8183, allocations: 404.3 kB / 1.05 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.8184, allocations: 50.67 kB / 1.051 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.8185, allocations: 98.14 kB / 1.051 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8186, allocations: 326.4 kB / 1.051 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.8189, allocations: 108.1 kB / 1.051 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.8192, allocations: 361.5 kB / 1.051 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.8197, allocations: 437.7 kB / 1.052 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.8197, allocations: 0 / 1.052 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007935/0.8205, allocations: 0.501 MB / 1.052 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.8205, allocations: 8.312 kB / 1.052 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.8205, allocations: 11.34 kB / 1.052 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.8205, allocations: 10.19 kB / 1.052 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.8208, allocations: 99.3 kB / 1.052 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.8208, allocations: 14 kB / 1.052 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.8215, allocations: 117.3 kB / 1.053 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.8215, allocations: 23.5 kB / 1.053 GB, free: 12.09 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002665/0.8218, allocations: 231.7 kB / 1.053 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.8219, allocations: 78.19 kB / 1.053 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.822, allocations: 76.67 kB / 1.053 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.822, allocations: 6.281 kB / 1.053 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.822, allocations: 0 / 1.053 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.822, allocations: 2.906 kB / 1.053 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.8233, allocations: 1.096 MB / 1.054 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.8233, allocations: 2.625 kB / 1.054 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.591e-05/0.8234, allocations: 22.42 kB / 1.054 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.8234, allocations: 3.594 kB / 1.054 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.8234, allocations: 3.719 kB / 1.054 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.8234, allocations: 5.312 kB / 1.054 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.8234, allocations: 5.25 kB / 1.054 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.8237, allocations: 272.4 kB / 1.054 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.8238, allocations: 95.27 kB / 1.054 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/0.8239, allocations: 9.422 kB / 1.054 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.8242, allocations: 14.34 kB / 1.054 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.8242, allocations: 15.94 kB / 1.054 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.8243, allocations: 10.28 kB / 1.054 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006927/0.8249, allocations: 0.5876 MB / 1.055 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.8249, allocations: 0 / 1.055 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006136/0.8256, allocations: 158.9 kB / 1.055 GB, free: 10.93 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.00109/0.8266, allocations: 0.8769 MB / 1.056 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005411/0.8272, allocations: 235 kB / 1.056 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.8272, allocations: 0 / 1.056 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.277e-05/0.8273, allocations: 47.69 kB / 1.056 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.8288, allocations: 393.7 kB / 1.057 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007513/0.8363, allocations: 5.45 MB / 1.062 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.8369, allocations: 0.9492 MB / 1.063 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005921/0.8375, allocations: 151.8 kB / 1.063 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.8378, allocations: 231.7 kB / 1.063 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of SimCode: time 1.272e-06/0.8378, allocations: 0 / 1.063 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05229/0.8901, allocations: 18.41 MB / 1.081 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.79, allocations: 3.984 kB / 1.081 GB, free: 14.9 MB / 0.7481 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.716061194001668] Failed to read output from testmodel.py, exit status != 0: 11.898018349998893 11.912429423 11.102030762 Calling exit ...