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.001582/0.001582, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001722/0.001722, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.462/1.462, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002286/0.002286, allocations: 289.2 kB / 309.8 MB, free: 3.473 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.044/1.044, allocations: 180.6 MB / 0.5337 GB, free: 12.36 MB / 398.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.002811/0.002811, allocations: 103.8 kB / 0.7347 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5163, allocations: 95.34 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.236/0.7523, allocations: 198.7 MB / 1.022 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.7713, allocations: 14.4 MB / 1.036 GB, free: 4.328 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.7726, allocations: 47.62 kB / 1.036 GB, free: 4.281 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.7742, allocations: 0.5124 MB / 1.036 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005208/0.7794, allocations: 1.964 MB / 1.038 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.7822, allocations: 0.8728 MB / 1.039 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003642/0.7858, allocations: 2.569 MB / 1.042 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.7873, allocations: 0.9301 MB / 1.043 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004255/0.7915, allocations: 1.666 MB / 1.044 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.7933, allocations: 1.004 MB / 1.045 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002807/0.7936, allocations: 104 kB / 1.045 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.7961, allocations: 1.165 MB / 1.047 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000682/0.7968, allocations: 0.5025 MB / 1.047 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000946/0.7977, allocations: 0.6338 MB / 1.048 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002814/0.8005, allocations: 1.919 MB / 1.05 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.8005, allocations: 0 / 1.05 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8005, allocations: 0 / 1.05 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.427e-05/0.8006, allocations: 0 / 1.05 GB, free: 6.41 MB / 0.7794 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.002324/0.8029, allocations: 1.482 MB / 1.051 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.8029, allocations: 12.03 kB / 1.051 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.787e-05/0.8029, allocations: 22 kB / 1.051 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.8031, allocations: 147.6 kB / 1.051 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.8044, allocations: 266.9 kB / 1.051 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.8057, allocations: 0.7928 MB / 1.052 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-05/0.8058, allocations: 73.94 kB / 1.052 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.806, allocations: 96 kB / 1.052 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.8077, allocations: 1.173 MB / 1.053 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.8077, allocations: 11.88 kB / 1.053 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.8078, allocations: 36 kB / 1.054 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/0.8079, allocations: 34 kB / 1.054 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.8093, allocations: 0.9054 MB / 1.054 GB, free: 1.191 MB / 0.7794 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.005819/0.8151, allocations: 5.748 MB / 1.06 GB, free: 10.99 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008474/0.8159, allocations: 0.5086 MB / 1.061 GB, free: 10.47 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.8164, allocations: 294.6 kB / 1.061 GB, free: 10.18 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/0.817, allocations: 319.7 kB / 1.061 GB, free: 9.816 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.817, allocations: 39 kB / 1.061 GB, free: 9.77 MB / 0.795 GB Notification: Performance of pre-optimization done (n=49): time 4.127e-06/0.817, allocations: 3.984 kB / 1.061 GB, free: 9.766 MB / 0.795 GB Notification: Performance of matching and sorting (n=49): time 0.00155/0.8186, allocations: 0.8069 MB / 1.062 GB, free: 8.957 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.8186, allocations: 59.83 kB / 1.062 GB, free: 8.887 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009065/0.8195, allocations: 0.7549 MB / 1.063 GB, free: 8.125 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.8196, allocations: 37.7 kB / 1.063 GB, free: 8.082 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/0.8199, allocations: 0.5116 MB / 1.063 GB, free: 7.562 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.8201, allocations: 186.4 kB / 1.063 GB, free: 7.379 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.8203, allocations: 146.6 kB / 1.064 GB, free: 7.23 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.8205, allocations: 334 kB / 1.064 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.8209, allocations: 245.8 kB / 1.064 GB, free: 6.656 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000662/0.8215, allocations: 0.5547 MB / 1.065 GB, free: 5.961 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.8226, allocations: 0.7995 MB / 1.065 GB, free: 5.055 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.8226, allocations: 4 kB / 1.065 GB, free: 5.051 MB / 0.795 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001284/0.8239, allocations: 0.8473 MB / 1.066 GB, free: 4.195 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.8239, allocations: 12.03 kB / 1.066 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.8239, allocations: 8 kB / 1.066 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/0.8239, allocations: 15.98 kB / 1.066 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.8245, allocations: 151.8 kB / 1.066 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/0.8245, allocations: 15.94 kB / 1.066 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000676/0.8252, allocations: 91.33 kB / 1.067 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/0.8252, allocations: 39.98 kB / 1.067 GB, free: 3.867 MB / 0.795 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.0004231/0.8256, allocations: 330 kB / 1.067 GB, free: 3.535 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.8258, allocations: 95.42 kB / 1.067 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.8268, allocations: 0.6141 MB / 1.068 GB, free: 2.816 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.8268, allocations: 4 kB / 1.068 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8268, allocations: 0 / 1.068 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007413/0.8276, allocations: 0.525 MB / 1.068 GB, free: 2.277 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.83, allocations: 1.667 MB / 1.07 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.83, allocations: 3.938 kB / 1.07 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.8305, allocations: 115.8 kB / 1.07 GB, free: 424 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.8305, allocations: 12.2 kB / 1.07 GB, free: 412 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.8305, allocations: 12 kB / 1.07 GB, free: 400 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.8305, allocations: 4 kB / 1.07 GB, free: 396 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.8305, allocations: 7.984 kB / 1.07 GB, free: 388 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.8319, allocations: 1.023 MB / 1.071 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.8322, allocations: 224.5 kB / 1.071 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.8323, allocations: 16 kB / 1.071 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.8327, allocations: 15.98 kB / 1.071 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.8328, allocations: 31.97 kB / 1.071 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.8329, allocations: 23.98 kB / 1.071 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006356/0.8335, allocations: 0.5145 MB / 1.072 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.8335, allocations: 0 / 1.072 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008568/0.8343, allocations: 307.4 kB / 1.072 GB, free: 14.18 MB / 0.8106 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.002089/0.8364, allocations: 1.662 MB / 1.074 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009833/0.8374, allocations: 0.5873 MB / 1.074 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8374, allocations: 0 / 1.074 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.8378, allocations: 257.2 kB / 1.074 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.8396, allocations: 440.8 kB / 1.075 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009592/0.8492, allocations: 7.247 MB / 1.082 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008222/0.8501, allocations: 1.118 MB / 1.083 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007536/0.8508, allocations: 279 kB / 1.083 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/0.8513, allocations: 359.3 kB / 1.084 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of SimCode: time 1.192e-06/0.8513, allocations: 0 / 1.084 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05146/0.9028, allocations: 23.27 MB / 1.106 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.579/10.48, allocations: 10.81 kB / 1.106 GB, free: 10.92 MB / 0.8419 GB " [Timeout remaining time 649] (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 os._exit(0), Time elapsed: 14.387162342027295] Failed to read output from testmodel.py, exit status != 0: 10.623259151994716 10.637476033 9.833967706 Calling exit ...