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.0009769/0.0009769, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001002/0.001002, allocations: 173.7 kB / 23.28 MB, free: 1.219 MB / 18.57 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 0.9557/0.9557, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.001739/0.001739, allocations: 245.9 kB / 260.5 MB, free: 12.65 MB / 250.7 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 0.8469/0.8469, allocations: 138.4 MB / 455.5 MB, free: 30.04 MB / 410.7 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: translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.459e-05, allocations: 9.969 kB / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.373/0.373, allocations: 149.1 MB / 0.7012 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006686/0.3797, allocations: 4.091 MB / 0.7052 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.3812, allocations: 50.84 kB / 0.7052 GB, free: 51.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000838/0.382, allocations: 281.2 kB / 0.7055 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002617/0.3847, allocations: 1.282 MB / 0.7068 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.3864, allocations: 0.7965 MB / 0.7075 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002793/0.3892, allocations: 2.593 MB / 0.7101 GB, free: 49.27 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.3902, allocations: 0.8234 MB / 0.7109 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.3928, allocations: 1.55 MB / 0.7124 GB, free: 48.35 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.394, allocations: 0.856 MB / 0.7132 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.3942, allocations: 104.8 kB / 0.7133 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008345/0.395, allocations: 428.8 kB / 0.7137 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.3953, allocations: 0.5394 MB / 0.7143 GB, free: 47.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.3957, allocations: 454.6 kB / 0.7147 GB, free: 47.7 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.3968, allocations: 1.209 MB / 0.7159 GB, free: 47.27 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3968, allocations: 1.594 kB / 0.7159 GB, free: 47.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3968, allocations: 4 kB / 0.7159 GB, free: 47.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.3968, allocations: 0 / 0.7159 GB, free: 47.27 MB / 0.5573 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.001202/0.398, allocations: 1.485 MB / 0.7173 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3981, allocations: 12 kB / 0.7173 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007004/0.3988, allocations: 334 kB / 0.7177 GB, free: 46.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.3994, allocations: 0.7085 MB / 0.7184 GB, free: 45.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.3994, allocations: 70.94 kB / 0.7184 GB, free: 45.74 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/0.3995, allocations: 95.09 kB / 0.7185 GB, free: 45.71 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006352/0.4001, allocations: 0.9048 MB / 0.7194 GB, free: 45.14 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.4002, allocations: 6.969 kB / 0.7194 GB, free: 45.13 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.4002, allocations: 35.44 kB / 0.7194 GB, free: 45.11 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.4002, allocations: 36.67 kB / 0.7195 GB, free: 45.11 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.4006, allocations: 319.5 kB / 0.7198 GB, free: 45.05 MB / 0.5573 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.002324/0.4029, allocations: 4.679 MB / 0.7243 GB, free: 41.44 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.4032, allocations: 262.4 kB / 0.7246 GB, free: 41.36 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.4033, allocations: 126.4 kB / 0.7247 GB, free: 41.33 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.4035, allocations: 73 kB / 0.7248 GB, free: 41.32 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.4035, allocations: 40.58 kB / 0.7248 GB, free: 41.27 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=49): time 1.733e-06/0.4035, allocations: 2.938 kB / 0.7248 GB, free: 41.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49): time 0.0005367/0.4041, allocations: 413.4 kB / 0.7252 GB, free: 41.15 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/0.4041, allocations: 54.72 kB / 0.7253 GB, free: 41.08 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.4044, allocations: 0.6455 MB / 0.7259 GB, free: 40.85 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.4045, allocations: 39.27 kB / 0.7259 GB, free: 40.81 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.4047, allocations: 0.5794 MB / 0.7265 GB, free: 40.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.163e-05/0.4047, allocations: 191.3 kB / 0.7267 GB, free: 40.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.4049, allocations: 157.8 kB / 0.7268 GB, free: 40.15 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.405, allocations: 0.5706 MB / 0.7274 GB, free: 39.65 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-05/0.4051, allocations: 70.56 kB / 0.7275 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.4053, allocations: 0.7774 MB / 0.7282 GB, free: 38.76 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.4057, allocations: 0.557 MB / 0.7288 GB, free: 38.24 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.4057, allocations: 9.422 kB / 0.7288 GB, free: 38.24 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004793/0.4061, allocations: 0.5237 MB / 0.7293 GB, free: 38.04 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4062, allocations: 10.95 kB / 0.7293 GB, free: 38.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.4062, allocations: 8.844 kB / 0.7293 GB, free: 38.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4062, allocations: 11.19 kB / 0.7293 GB, free: 38.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.4065, allocations: 157.5 kB / 0.7295 GB, free: 38.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4065, allocations: 15.09 kB / 0.7295 GB, free: 38.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.4068, allocations: 79.08 kB / 0.7296 GB, free: 37.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.4068, allocations: 35.22 kB / 0.7296 GB, free: 37.95 MB / 0.5573 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.0001407/0.407, allocations: 206.1 kB / 0.7298 GB, free: 37.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.407, allocations: 97.95 kB / 0.7299 GB, free: 37.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.4074, allocations: 344.1 kB / 0.7302 GB, free: 37.56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4074, allocations: 9.969 kB / 0.7302 GB, free: 37.56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.4074, allocations: 0 / 0.7302 GB, free: 37.56 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001995/0.4076, allocations: 260 kB / 0.7305 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009314/0.4085, allocations: 1.02 MB / 0.7315 GB, free: 36.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4085, allocations: 0 / 0.7315 GB, free: 36.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.4088, allocations: 111.6 kB / 0.7316 GB, free: 36.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.4088, allocations: 9.969 kB / 0.7316 GB, free: 36.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.4088, allocations: 15.91 kB / 0.7316 GB, free: 36.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.4088, allocations: 1.969 kB / 0.7316 GB, free: 36.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4088, allocations: 3.438 kB / 0.7316 GB, free: 36.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.4093, allocations: 0.6218 MB / 0.7322 GB, free: 36.51 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.4094, allocations: 133.5 kB / 0.7323 GB, free: 36.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/0.4095, allocations: 11.62 kB / 0.7323 GB, free: 36.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.4098, allocations: 13.28 kB / 0.7324 GB, free: 36.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.4098, allocations: 46.91 kB / 0.7324 GB, free: 36.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.4098, allocations: 14.66 kB / 0.7324 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002327/0.4101, allocations: 385.1 kB / 0.7328 GB, free: 36.21 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4101, allocations: 0 / 0.7328 GB, free: 36.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007339/0.4108, allocations: 307.1 kB / 0.7331 GB, free: 36.15 MB / 0.5573 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.000345/0.4112, allocations: 182.6 kB / 0.7333 GB, free: 36.03 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.4116, allocations: 322.7 kB / 0.7336 GB, free: 35.92 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4116, allocations: 0.6875 kB / 0.7336 GB, free: 35.92 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4117, allocations: 147.3 kB / 0.7337 GB, free: 35.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.4128, allocations: 390.1 kB / 0.7341 GB, free: 35.67 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.4148, allocations: 1.642 MB / 0.7357 GB, free: 34.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.415, allocations: 249.1 kB / 0.7359 GB, free: 34.39 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003931/0.4154, allocations: 129.8 kB / 0.736 GB, free: 34.32 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005815/0.416, allocations: 382.8 kB / 0.7364 GB, free: 34.17 MB / 0.5573 GB Notification: Performance of SimCode: time 8.12e-07/0.416, allocations: 4 kB / 0.7364 GB, free: 34.16 MB / 0.5573 GB Notification: Performance of Templates: time 0.02033/0.4363, allocations: 15.37 MB / 0.7514 GB, free: 26.47 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.505771182011813]