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.001274/0.001274, 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.001438/0.001438, allocations: 210.5 kB / 22.25 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.742 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.002554/0.002554, allocations: 292.2 kB / 312.7 MB, free: 2.559 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.148/1.148, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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.002831/0.002831, allocations: 109.3 kB / 0.7395 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1737, allocations: 95.38 MB / 0.8327 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.6322/0.8059, allocations: 172.6 MB / 1.001 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01579/0.8217, allocations: 13.16 MB / 1.014 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.8232, allocations: 49.31 kB / 1.014 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.8245, allocations: 0.4928 MB / 1.015 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004608/0.8291, allocations: 1.944 MB / 1.017 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.8314, allocations: 0.8819 MB / 1.017 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002605/0.834, allocations: 2.609 MB / 1.02 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000946/0.835, allocations: 0.7942 MB / 1.021 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004064/0.839, allocations: 1.676 MB / 1.022 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.8407, allocations: 0.9528 MB / 1.023 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.8408, allocations: 112.8 kB / 1.023 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.8429, allocations: 0.9341 MB / 1.024 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004752/0.8433, allocations: 0.5084 MB / 1.025 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005712/0.8439, allocations: 0.5346 MB / 1.025 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.846, allocations: 1.892 MB / 1.027 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.846, allocations: 0 / 1.027 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.846, allocations: 0.6875 kB / 1.027 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.8461, allocations: 5.672 kB / 1.027 GB, free: 2.836 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.002075/0.8481, allocations: 1.403 MB / 1.029 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.8482, allocations: 11.03 kB / 1.029 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.8483, allocations: 146.9 kB / 1.029 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.8495, allocations: 259.3 kB / 1.029 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.8509, allocations: 0.7263 MB / 1.03 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.107e-05/0.851, allocations: 75.23 kB / 1.03 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.8511, allocations: 94.75 kB / 1.03 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.8526, allocations: 1.299 MB / 1.031 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.8526, allocations: 4.188 kB / 1.031 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.8527, allocations: 42.12 kB / 1.031 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.8528, allocations: 37.12 kB / 1.031 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.8539, allocations: 0.8982 MB / 1.032 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.004926/0.8588, allocations: 4.135 MB / 1.036 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/0.8596, allocations: 0.5102 MB / 1.037 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.86, allocations: 297.9 kB / 1.037 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/0.8604, allocations: 81.3 kB / 1.037 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.8605, allocations: 37.84 kB / 1.037 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.775e-06/0.8605, allocations: 3.25 kB / 1.037 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001374/0.8619, allocations: 0.8037 MB / 1.038 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.8619, allocations: 58.41 kB / 1.038 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007898/0.8627, allocations: 0.7691 MB / 1.039 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/0.8628, allocations: 36.77 kB / 1.039 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.8631, allocations: 0.5177 MB / 1.039 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.8632, allocations: 191 kB / 1.039 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.8634, allocations: 142.8 kB / 1.039 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.8636, allocations: 338 kB / 1.04 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.8639, allocations: 246.2 kB / 1.04 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007171/0.8647, allocations: 0.8314 MB / 1.041 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009009/0.8656, allocations: 0.801 MB / 1.042 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.8656, allocations: 7.531 kB / 1.042 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001126/0.8667, allocations: 0.8494 MB / 1.042 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.8667, allocations: 9.531 kB / 1.042 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.8667, allocations: 8.75 kB / 1.042 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.8667, allocations: 10.62 kB / 1.042 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.8672, allocations: 156.8 kB / 1.043 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.8673, allocations: 17.8 kB / 1.043 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/0.8679, allocations: 95.14 kB / 1.043 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.348e-05/0.868, allocations: 37.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.0004881/0.8685, allocations: 325.8 kB / 1.043 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.8686, allocations: 89.75 kB / 1.043 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008904/0.8695, allocations: 0.6221 MB / 1.044 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.8695, allocations: 3.5 kB / 1.044 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8695, allocations: 0 / 1.044 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006586/0.8702, allocations: 0.5241 MB / 1.044 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.8724, allocations: 1.538 MB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8724, allocations: 2.25 kB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.8729, allocations: 112.3 kB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.8729, allocations: 7.062 kB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.8729, allocations: 19.2 kB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.873, allocations: 5.688 kB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.873, allocations: 4.375 kB / 1.046 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.8743, allocations: 1.017 MB / 1.047 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.8747, allocations: 151.8 kB / 1.047 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.8748, allocations: 13.59 kB / 1.047 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.8752, allocations: 20.25 kB / 1.047 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.8753, allocations: 33.03 kB / 1.047 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/0.8753, allocations: 25.11 kB / 1.047 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006858/0.876, allocations: 0.5073 MB / 1.048 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6e-08/0.876, allocations: 0 / 1.048 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001056/0.877, allocations: 307.6 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.002111/0.8792, allocations: 1.663 MB / 1.05 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.8802, allocations: 0.5901 MB / 1.05 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8802, allocations: 0 / 1.05 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.8806, allocations: 260.6 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.001801/0.8824, allocations: 436.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.009214/0.8916, allocations: 7.248 MB / 1.058 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.8921, allocations: 0.5214 MB / 1.058 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008129/0.8929, allocations: 270 kB / 1.059 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/0.8934, allocations: 360.9 kB / 1.059 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/0.8934, allocations: 3.938 kB / 1.059 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06287/0.9562, allocations: 25.45 MB / 1.084 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.33, allocations: 2.922 kB / 1.084 GB, free: 8.004 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 & /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: 16.29421978024766] Failed to read output from testmodel.py, exit status != 0: 12.451279954053462 12.472747544 11.623672896 Calling exit ...