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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 108.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002433/0.002433, allocations: 286.8 kB / 303 MB, free: 9.484 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.135/1.135, allocations: 180.9 MB / 0.5261 GB, free: 14.72 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 105.5 kB / 0.7248 GB, free: 40.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1656, allocations: 94.15 MB / 0.8167 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.2274/0.393, allocations: 195.8 MB / 1.008 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.4437/0.8366, allocations: 14.37 MB / 1.022 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.838, allocations: 37.3 kB / 1.022 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.8395, allocations: 0.511 MB / 1.023 GB, free: 2.422 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004629/0.8441, allocations: 1.963 MB / 1.024 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.8467, allocations: 0.8721 MB / 1.025 GB, free: 2.332 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003428/0.8501, allocations: 2.572 MB / 1.028 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.8517, allocations: 0.9302 MB / 1.029 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005897/0.8576, allocations: 1.645 MB / 1.03 GB, free: 2.238 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003685/0.8613, allocations: 0.9941 MB / 1.031 GB, free: 2.238 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002835/0.8616, allocations: 107.1 kB / 1.031 GB, free: 2.238 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.8645, allocations: 1.168 MB / 1.033 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005919/0.8651, allocations: 0.5054 MB / 1.033 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008622/0.8659, allocations: 0.6349 MB / 1.034 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.8683, allocations: 1.913 MB / 1.035 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8683, allocations: 0.8125 kB / 1.035 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8683, allocations: 3.188 kB / 1.035 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.292e-05/0.8684, allocations: 0.8125 kB / 1.035 GB, free: 2.109 MB / 0.7481 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.001888/0.8703, allocations: 1.488 MB / 1.037 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.8703, allocations: 10.34 kB / 1.037 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/0.8704, allocations: 146 kB / 1.037 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.8716, allocations: 260.2 kB / 1.037 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.873, allocations: 0.8024 MB / 1.038 GB, free: 16.87 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.873, allocations: 72.44 kB / 1.038 GB, free: 16.87 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.8731, allocations: 93.72 kB / 1.038 GB, free: 16.87 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.8745, allocations: 1.169 MB / 1.039 GB, free: 16.64 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.8745, allocations: 4.5 kB / 1.039 GB, free: 16.64 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/0.8746, allocations: 39.84 kB / 1.039 GB, free: 16.64 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.8746, allocations: 35 kB / 1.04 GB, free: 16.64 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.8757, allocations: 0.9027 MB / 1.04 GB, free: 16.64 MB / 0.7637 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.005314/0.881, allocations: 5.762 MB / 1.046 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/0.8817, allocations: 0.5161 MB / 1.047 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.882, allocations: 294.3 kB / 1.047 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.8826, allocations: 313.7 kB / 1.047 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.8827, allocations: 45.56 kB / 1.047 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=49): time 2.254e-06/0.8827, allocations: 0.9375 kB / 1.047 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=49): time 0.001277/0.8839, allocations: 0.8055 MB / 1.048 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.884, allocations: 57.78 kB / 1.048 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.8847, allocations: 0.7498 MB / 1.049 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.8848, allocations: 36.45 kB / 1.049 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.8851, allocations: 0.5181 MB / 1.049 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.8852, allocations: 188.8 kB / 1.049 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.8854, allocations: 143.9 kB / 1.05 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.8855, allocations: 336.2 kB / 1.05 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.8858, allocations: 246.5 kB / 1.05 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.8864, allocations: 0.5541 MB / 1.051 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008546/0.8872, allocations: 0.8083 MB / 1.051 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.8872, allocations: 2.312 kB / 1.051 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001039/0.8883, allocations: 0.8519 MB / 1.052 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.8883, allocations: 8.312 kB / 1.052 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.8883, allocations: 6.844 kB / 1.052 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.8883, allocations: 17.34 kB / 1.052 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.8888, allocations: 149.6 kB / 1.052 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.8888, allocations: 19.66 kB / 1.052 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.8895, allocations: 90.17 kB / 1.053 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.8896, allocations: 35.34 kB / 1.053 GB, free: 10.71 MB / 0.7637 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.0004003/0.89, allocations: 337.9 kB / 1.053 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.8901, allocations: 87.72 kB / 1.053 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008251/0.8909, allocations: 0.6222 MB / 1.054 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.8909, allocations: 5.188 kB / 1.054 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.8909, allocations: 7.438 kB / 1.054 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005802/0.8915, allocations: 0.5151 MB / 1.054 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.8936, allocations: 1.663 MB / 1.056 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8936, allocations: 4.016 kB / 1.056 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.8941, allocations: 110.5 kB / 1.056 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.8941, allocations: 6.094 kB / 1.056 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.8941, allocations: 19.94 kB / 1.056 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.8941, allocations: 5.094 kB / 1.056 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.8941, allocations: 2.062 kB / 1.056 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.8952, allocations: 1.02 MB / 1.057 GB, free: 9.789 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/0.8956, allocations: 232 kB / 1.057 GB, free: 9.641 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.676e-05/0.8957, allocations: 17.31 kB / 1.057 GB, free: 9.637 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.8961, allocations: 19.17 kB / 1.057 GB, free: 9.637 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.8962, allocations: 35.55 kB / 1.057 GB, free: 9.637 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.8962, allocations: 19.67 kB / 1.057 GB, free: 9.637 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005108/0.8967, allocations: 0.5114 MB / 1.058 GB, free: 9.543 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/0.8967, allocations: 1.094 kB / 1.058 GB, free: 9.543 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008042/0.8975, allocations: 294 kB / 1.058 GB, free: 9.504 MB / 0.7637 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.001756/0.8993, allocations: 1.689 MB / 1.06 GB, free: 8.699 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008152/0.9001, allocations: 0.5846 MB / 1.06 GB, free: 8.688 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.9001, allocations: 1.094 kB / 1.06 GB, free: 8.688 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.9004, allocations: 258.8 kB / 1.06 GB, free: 8.688 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.902, allocations: 448.7 kB / 1.061 GB, free: 8.637 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008728/0.9108, allocations: 7.244 MB / 1.068 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/0.9115, allocations: 1.119 MB / 1.069 GB, free: 5.234 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008387/0.9123, allocations: 268.2 kB / 1.069 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.9127, allocations: 362.2 kB / 1.07 GB, free: 5.18 MB / 0.7637 GB Notification: Performance of SimCode: time 6.71e-07/0.9127, allocations: 0 / 1.07 GB, free: 5.18 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05443/0.9671, allocations: 23.23 MB / 1.092 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.988/9.955, allocations: 3.984 kB / 1.092 GB, free: 12.75 MB / 0.7794 GB " [Timeout remaining time 650] (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: 13.810732854064554] Failed to read output from testmodel.py, exit status != 0: 10.037404112983495 10.051561752 9.180433074 Calling exit ...