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.001244/0.001244, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001441/0.001441, allocations: 219.4 kB / 23.04 MB, free: 5.078 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.002479/0.002479, allocations: 294.8 kB / 313.5 MB, free: 2.777 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.212/1.212, allocations: 180.6 MB / 0.5377 GB, free: 13.09 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.002857/0.002857, allocations: 103.7 kB / 0.7404 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1905, allocations: 95.38 MB / 0.8335 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.6478/0.8384, allocations: 199.1 MB / 1.028 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0152/0.8536, allocations: 14.52 MB / 1.042 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.8553, allocations: 54.53 kB / 1.042 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.8568, allocations: 0.5085 MB / 1.043 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004786/0.8616, allocations: 1.995 MB / 1.045 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.8638, allocations: 0.9051 MB / 1.046 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.8668, allocations: 2.624 MB / 1.048 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.868, allocations: 0.8057 MB / 1.049 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005136/0.8732, allocations: 1.683 MB / 1.051 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.8749, allocations: 1.001 MB / 1.051 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.875, allocations: 107.4 kB / 1.052 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.8777, allocations: 1.185 MB / 1.053 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004493/0.8781, allocations: 0.5019 MB / 1.053 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007178/0.8789, allocations: 0.6341 MB / 1.054 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.8816, allocations: 1.918 MB / 1.056 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8816, allocations: 2.312 kB / 1.056 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8816, allocations: 0 / 1.056 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.8817, allocations: 0 / 1.056 GB, free: 1.902 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.00231/0.884, allocations: 1.407 MB / 1.057 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.884, allocations: 11.72 kB / 1.057 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.414e-05/0.884, allocations: 28.53 kB / 1.057 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/0.8842, allocations: 145.2 kB / 1.057 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.8855, allocations: 257.5 kB / 1.058 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.8867, allocations: 0.7281 MB / 1.058 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/0.8868, allocations: 73.47 kB / 1.058 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.8869, allocations: 92.66 kB / 1.058 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.8885, allocations: 1.176 MB / 1.06 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.8885, allocations: 0 / 1.06 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-05/0.8886, allocations: 39.06 kB / 1.06 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.8887, allocations: 41.28 kB / 1.06 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.8898, allocations: 0.9034 MB / 1.061 GB, free: 16.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.005615/0.8954, allocations: 5.686 MB / 1.066 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.8963, allocations: 0.5124 MB / 1.067 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/0.8966, allocations: 297.9 kB / 1.067 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004545/0.8971, allocations: 91.45 kB / 1.067 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.8971, allocations: 38.44 kB / 1.067 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.064e-06/0.8971, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001501/0.8986, allocations: 0.8028 MB / 1.068 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.8987, allocations: 58.69 kB / 1.068 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008887/0.8996, allocations: 0.7521 MB / 1.069 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.8996, allocations: 37.83 kB / 1.069 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/0.9, allocations: 0.5194 MB / 1.069 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.9003, allocations: 186 kB / 1.069 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.9005, allocations: 140.9 kB / 1.069 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.9007, allocations: 338.6 kB / 1.07 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.901, allocations: 250.8 kB / 1.07 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006806/0.9017, allocations: 0.5478 MB / 1.071 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.9027, allocations: 0.8036 MB / 1.071 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.9028, allocations: 2.406 kB / 1.071 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001326/0.9041, allocations: 0.8535 MB / 1.072 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.9041, allocations: 8.969 kB / 1.072 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.9041, allocations: 7.906 kB / 1.072 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.9041, allocations: 15.62 kB / 1.072 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/0.9047, allocations: 153.8 kB / 1.072 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.9047, allocations: 16.41 kB / 1.072 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.9054, allocations: 90.3 kB / 1.072 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.9055, allocations: 33.06 kB / 1.072 GB, free: 8.238 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.000594/0.9061, allocations: 338.2 kB / 1.073 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.9062, allocations: 88.25 kB / 1.073 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.9073, allocations: 0.6181 MB / 1.073 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.9073, allocations: 13.27 kB / 1.073 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.9073, allocations: 0 / 1.073 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007779/0.9081, allocations: 0.5191 MB / 1.074 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.9107, allocations: 1.64 MB / 1.076 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.9107, allocations: 4.344 kB / 1.076 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/0.9112, allocations: 114.2 kB / 1.076 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.9112, allocations: 3.25 kB / 1.076 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.9112, allocations: 11.97 kB / 1.076 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.9112, allocations: 6.094 kB / 1.076 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9112, allocations: 6.125 kB / 1.076 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.9125, allocations: 1.023 MB / 1.077 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.9129, allocations: 155.7 kB / 1.077 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.913, allocations: 20.59 kB / 1.077 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/0.9134, allocations: 16.58 kB / 1.077 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.9135, allocations: 33.72 kB / 1.077 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.9135, allocations: 20 kB / 1.077 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006226/0.9141, allocations: 0.5136 MB / 1.077 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9141, allocations: 0 / 1.077 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008355/0.915, allocations: 299.3 kB / 1.078 GB, free: 5.074 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.001957/0.9169, allocations: 1.663 MB / 1.079 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008774/0.9178, allocations: 0.5821 MB / 1.08 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9178, allocations: 3.156 kB / 1.08 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.9181, allocations: 266 kB / 1.08 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.92, allocations: 441.3 kB / 1.081 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009719/0.9297, allocations: 7.252 MB / 1.088 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009388/0.9306, allocations: 1.122 MB / 1.089 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008995/0.9315, allocations: 267 kB / 1.089 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.9321, allocations: 363.3 kB / 1.089 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of SimCode: time 8.31e-07/0.9321, allocations: 0 / 1.089 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05951/0.9916, allocations: 23.86 MB / 1.113 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.26, allocations: 11.92 kB / 1.113 GB, free: 5.102 MB / 0.7637 GB " [Timeout remaining time 647] (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.47812243096996] Failed to read output from testmodel.py, exit status != 0: 13.433121264970396 13.45110334 12.565685869 Calling exit ...