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.001275/0.001275, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001429/0.001429, allocations: 219.2 kB / 23.03 MB, free: 4.945 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.002543/0.002543, allocations: 296.2 kB / 313.5 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.213/1.213, allocations: 180.6 MB / 0.5377 GB, free: 14.41 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",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.00271/0.00271, allocations: 100.8 kB / 0.7403 GB, free: 28.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1796, allocations: 95.39 MB / 0.8334 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.6388/0.8184, allocations: 172.5 MB / 1.002 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.8344, allocations: 13.14 MB / 1.015 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.8358, allocations: 47.84 kB / 1.015 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.8372, allocations: 0.4977 MB / 1.015 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006973/0.8442, allocations: 1.951 MB / 1.017 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.8471, allocations: 0.8883 MB / 1.018 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003213/0.8504, allocations: 2.635 MB / 1.021 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.8515, allocations: 0.8001 MB / 1.021 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005842/0.8574, allocations: 1.671 MB / 1.023 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/0.8598, allocations: 0.9886 MB / 1.024 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.8601, allocations: 107.6 kB / 1.024 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.8628, allocations: 0.9421 MB / 1.025 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.8634, allocations: 0.5136 MB / 1.026 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007505/0.8641, allocations: 0.5312 MB / 1.026 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.867, allocations: 1.895 MB / 1.028 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.867, allocations: 0 / 1.028 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.867, allocations: 0 / 1.028 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.309e-05/0.867, allocations: 0.6875 kB / 1.028 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.002347/0.8694, allocations: 1.411 MB / 1.029 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.8694, allocations: 10.31 kB / 1.029 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.554e-05/0.8695, allocations: 28 kB / 1.029 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.8696, allocations: 141.3 kB / 1.029 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.871, allocations: 254.6 kB / 1.03 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.8724, allocations: 0.7488 MB / 1.03 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.8724, allocations: 69.88 kB / 1.03 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.8726, allocations: 92.19 kB / 1.031 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.8744, allocations: 1.293 MB / 1.032 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.8744, allocations: 3.094 kB / 1.032 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.797e-05/0.8745, allocations: 41.66 kB / 1.032 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.8745, allocations: 40.72 kB / 1.032 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.8756, allocations: 0.8977 MB / 1.033 GB, free: 17.34 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.00475/0.8804, allocations: 4.135 MB / 1.037 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007347/0.8811, allocations: 0.5173 MB / 1.037 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.8814, allocations: 298.4 kB / 1.038 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004551/0.8819, allocations: 82.83 kB / 1.038 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.8819, allocations: 38.06 kB / 1.038 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.033e-06/0.8819, allocations: 0 / 1.038 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.00127/0.8832, allocations: 0.8051 MB / 1.039 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.8832, allocations: 58.22 kB / 1.039 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007096/0.884, allocations: 0.7546 MB / 1.039 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/0.884, allocations: 38.58 kB / 1.039 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.8843, allocations: 0.5152 MB / 1.04 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.8844, allocations: 190.8 kB / 1.04 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.8845, allocations: 137 kB / 1.04 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8847, allocations: 338.8 kB / 1.04 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.885, allocations: 249.8 kB / 1.041 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/0.8855, allocations: 0.8297 MB / 1.042 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007687/0.8863, allocations: 0.7997 MB / 1.042 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.8863, allocations: 3.625 kB / 1.042 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001113/0.8874, allocations: 0.8531 MB / 1.043 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.8874, allocations: 10.59 kB / 1.043 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.8875, allocations: 6.688 kB / 1.043 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.8875, allocations: 11.72 kB / 1.043 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.888, allocations: 152.2 kB / 1.043 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.888, allocations: 20.12 kB / 1.043 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/0.8887, allocations: 93.58 kB / 1.043 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.8887, allocations: 34.56 kB / 1.043 GB, free: 12.99 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.0004027/0.8891, allocations: 329.7 kB / 1.044 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.8892, allocations: 90.44 kB / 1.044 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008469/0.8901, allocations: 0.622 MB / 1.044 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.8901, allocations: 9.812 kB / 1.044 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8901, allocations: 0 / 1.044 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006319/0.8907, allocations: 0.5208 MB / 1.045 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.8926, allocations: 1.544 MB / 1.046 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8927, allocations: 3.625 kB / 1.046 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004768/0.8931, allocations: 107.8 kB / 1.047 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.8931, allocations: 12.62 kB / 1.047 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.8932, allocations: 13.75 kB / 1.047 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.8932, allocations: 5.656 kB / 1.047 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.8932, allocations: 3 kB / 1.047 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.8943, allocations: 1.017 MB / 1.048 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.8946, allocations: 156.2 kB / 1.048 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.8947, allocations: 18.22 kB / 1.048 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.8952, allocations: 14.28 kB / 1.048 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.8952, allocations: 35.55 kB / 1.048 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.8952, allocations: 24.44 kB / 1.048 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005122/0.8958, allocations: 0.5111 MB / 1.048 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8958, allocations: 0 / 1.048 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008165/0.8966, allocations: 302.5 kB / 1.049 GB, free: 11.89 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.001725/0.8983, allocations: 1.66 MB / 1.05 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007636/0.8991, allocations: 0.5903 MB / 1.051 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8991, allocations: 0 / 1.051 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.8993, allocations: 261.6 kB / 1.051 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.901, allocations: 432.2 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.008985/0.91, allocations: 7.242 MB / 1.059 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.9106, allocations: 0.5257 MB / 1.059 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009081/0.9115, allocations: 274.6 kB / 1.059 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000494/0.912, allocations: 361 kB / 1.06 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of SimCode: time 1.002e-06/0.912, allocations: 0 / 1.06 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05419/0.9662, allocations: 25.23 MB / 1.084 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.43, allocations: 8 kB / 1.084 GB, free: 8.246 MB / 0.7481 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 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: 17.660267067956738] Failed to read output from testmodel.py, exit status != 0: 13.605977596947923 13.621604376 12.751495288 Calling exit ...