Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.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.001638/0.001638, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001416/0.001416, allocations: 214.7 kB / 22.24 MB, free: 5.262 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.393/1.393, allocations: 230.6 MB / 256 MB, free: 7.777 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.002455/0.002455, allocations: 289.5 kB / 312.7 MB, free: 2.594 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.162/1.162, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TraceSubstances",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.002817/0.002817, allocations: 105.2 kB / 0.7395 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1732, allocations: 95.38 MB / 0.8327 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.6035/0.7766, allocations: 172.6 MB / 1.001 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.7929, allocations: 13.16 MB / 1.014 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.795, allocations: 50.3 kB / 1.014 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.7967, allocations: 0.4961 MB / 1.015 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005067/0.8017, allocations: 1.942 MB / 1.017 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.804, allocations: 0.884 MB / 1.017 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002651/0.8067, allocations: 2.609 MB / 1.02 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009343/0.8076, allocations: 0.7951 MB / 1.021 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003744/0.8114, allocations: 1.676 MB / 1.022 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.8128, allocations: 0.9521 MB / 1.023 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.8129, allocations: 106.7 kB / 1.023 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.8146, allocations: 0.9342 MB / 1.024 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004025/0.815, allocations: 0.5103 MB / 1.025 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005122/0.8155, allocations: 0.5295 MB / 1.025 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.8174, allocations: 1.9 MB / 1.027 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.8174, allocations: 0 / 1.027 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8174, allocations: 0.9062 kB / 1.027 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.8174, allocations: 0 / 1.027 GB, free: 2.84 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001887/0.8193, allocations: 1.405 MB / 1.029 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.8194, allocations: 11.16 kB / 1.029 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.8195, allocations: 145.8 kB / 1.029 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.8207, allocations: 262.5 kB / 1.029 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.8218, allocations: 0.728 MB / 1.03 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.8219, allocations: 66.44 kB / 1.03 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.822, allocations: 100.6 kB / 1.03 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.8233, allocations: 1.292 MB / 1.031 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.8234, allocations: 9.922 kB / 1.031 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-05/0.8234, allocations: 44.94 kB / 1.031 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.8235, allocations: 35.47 kB / 1.031 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.8246, allocations: 0.8995 MB / 1.032 GB, free: 17.35 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.004393/0.8289, allocations: 4.133 MB / 1.036 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.8297, allocations: 0.5107 MB / 1.037 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.83, allocations: 298.5 kB / 1.037 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/0.8304, allocations: 82.62 kB / 1.037 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.8305, allocations: 39.97 kB / 1.037 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 1.974e-06/0.8305, allocations: 0 / 1.037 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001223/0.8317, allocations: 0.8068 MB / 1.038 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.8317, allocations: 59.5 kB / 1.038 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006857/0.8324, allocations: 0.7633 MB / 1.039 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.8325, allocations: 39.11 kB / 1.039 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.8328, allocations: 0.514 MB / 1.039 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.8329, allocations: 188.5 kB / 1.039 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.833, allocations: 141.5 kB / 1.039 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.8332, allocations: 341.6 kB / 1.04 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.8335, allocations: 247.9 kB / 1.04 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.8341, allocations: 0.831 MB / 1.041 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007605/0.8348, allocations: 0.8002 MB / 1.042 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8348, allocations: 2.031 kB / 1.042 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001054/0.8359, allocations: 0.8531 MB / 1.042 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.8359, allocations: 9.969 kB / 1.042 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.8359, allocations: 7.781 kB / 1.042 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.8359, allocations: 15.81 kB / 1.042 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.8364, allocations: 153.2 kB / 1.043 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.8364, allocations: 18.56 kB / 1.043 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006643/0.8371, allocations: 97.97 kB / 1.043 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.201e-05/0.8371, allocations: 33.59 kB / 1.043 GB, free: 12.96 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0003856/0.8375, allocations: 330.8 kB / 1.043 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.8376, allocations: 90.72 kB / 1.043 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000865/0.8385, allocations: 0.6173 MB / 1.044 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.8385, allocations: 5.281 kB / 1.044 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8385, allocations: 2.062 kB / 1.044 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006024/0.8391, allocations: 0.5254 MB / 1.044 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.8412, allocations: 1.536 MB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8412, allocations: 2.188 kB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.8416, allocations: 111.7 kB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.8416, allocations: 6.531 kB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.8416, allocations: 15.25 kB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.699e-06/0.8416, allocations: 8.969 kB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8416, allocations: 3.344 kB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.8427, allocations: 1.018 MB / 1.047 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.8431, allocations: 155.7 kB / 1.047 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.379e-05/0.8432, allocations: 15.25 kB / 1.047 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.8436, allocations: 15.75 kB / 1.047 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.8436, allocations: 36.16 kB / 1.047 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.8437, allocations: 18.84 kB / 1.047 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005113/0.8442, allocations: 0.5093 MB / 1.048 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8442, allocations: 4.906 kB / 1.048 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000765/0.8449, allocations: 307 kB / 1.048 GB, free: 11.88 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.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 (49): * Single equations (assignments): 49 * 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.001774/0.8467, allocations: 1.656 MB / 1.05 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000744/0.8474, allocations: 0.592 MB / 1.05 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8475, allocations: 1.031 kB / 1.05 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.8477, allocations: 258.7 kB / 1.05 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.8494, allocations: 444.9 kB / 1.051 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008418/0.8578, allocations: 7.243 MB / 1.058 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.8583, allocations: 0.5295 MB / 1.058 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006771/0.859, allocations: 268 kB / 1.059 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/0.8594, allocations: 363.6 kB / 1.059 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.8594, allocations: 0 / 1.059 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06215/0.9216, allocations: 25.44 MB / 1.084 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.22, allocations: 3.938 kB / 1.084 GB, free: 8.098 MB / 0.7481 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TraceSubstances.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.279832060914487] Failed to read output from testmodel.py, exit status != 0: 12.342609176877886 12.35867951 11.538171761 Calling exit ...