Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001345/0.001345, allocations: 116.7 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.001448/0.001448, 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.498/1.498, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002879/0.002879, allocations: 67.91 kB / 1.113 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.009, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.276/1.285, allocations: 198.7 MB / 1.473 GB, free: 4.992 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02105/1.306, allocations: 14.42 MB / 1.487 GB, free: 6.527 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/1.308, allocations: 51.56 kB / 1.487 GB, free: 6.477 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/1.31, allocations: 0.5085 MB / 1.488 GB, free: 5.965 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005696/1.315, allocations: 1.968 MB / 1.49 GB, free: 3.988 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/1.318, allocations: 0.8695 MB / 1.49 GB, free: 3.121 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00398/1.322, allocations: 2.572 MB / 1.493 GB, free: 0.543 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/1.324, allocations: 0.9234 MB / 1.494 GB, free: 15.59 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004664/1.328, allocations: 1.667 MB / 1.496 GB, free: 13.94 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/1.33, allocations: 0.9874 MB / 1.496 GB, free: 12.95 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001964/1.33, allocations: 108 kB / 1.497 GB, free: 12.84 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/1.333, allocations: 1.165 MB / 1.498 GB, free: 11.68 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005839/1.333, allocations: 0.5025 MB / 1.498 GB, free: 11.17 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008042/1.334, allocations: 0.6377 MB / 1.499 GB, free: 10.53 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003223/1.337, allocations: 1.919 MB / 1.501 GB, free: 8.605 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.337, allocations: 0 / 1.501 GB, free: 8.605 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.174e-06/1.337, allocations: 0 / 1.501 GB, free: 8.605 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.267e-05/1.338, allocations: 0 / 1.501 GB, free: 8.605 MB / 1.186 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.002698/1.34, allocations: 1.479 MB / 1.502 GB, free: 7.074 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.34, allocations: 11.97 kB / 1.502 GB, free: 7.062 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.313e-05/1.34, allocations: 26 kB / 1.502 GB, free: 7.035 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/1.34, allocations: 143.6 kB / 1.502 GB, free: 6.887 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/1.342, allocations: 262.9 kB / 1.503 GB, free: 6.629 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/1.343, allocations: 0.7966 MB / 1.503 GB, free: 5.793 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/1.343, allocations: 74 kB / 1.503 GB, free: 5.719 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/1.344, allocations: 92 kB / 1.503 GB, free: 5.629 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/1.345, allocations: 1.176 MB / 1.505 GB, free: 4.383 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/1.345, allocations: 7.875 kB / 1.505 GB, free: 4.375 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/1.346, allocations: 40 kB / 1.505 GB, free: 4.336 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/1.346, allocations: 33.98 kB / 1.505 GB, free: 4.301 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/1.347, allocations: 0.9093 MB / 1.506 GB, free: 3.391 MB / 1.186 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.006645/1.354, allocations: 5.748 MB / 1.511 GB, free: 13.19 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009814/1.355, allocations: 0.5275 MB / 1.512 GB, free: 12.65 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/1.355, allocations: 294.5 kB / 1.512 GB, free: 12.36 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000647/1.356, allocations: 311.7 kB / 1.512 GB, free: 12 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/1.356, allocations: 43 kB / 1.512 GB, free: 11.95 MB / 1.201 GB Notification: Performance of pre-optimization done (n=49): time 2.525e-06/1.356, allocations: 0 / 1.512 GB, free: 11.95 MB / 1.201 GB Notification: Performance of matching and sorting (n=49): time 0.001665/1.358, allocations: 0.8069 MB / 1.513 GB, free: 11.13 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/1.358, allocations: 55.84 kB / 1.513 GB, free: 11.06 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/1.359, allocations: 0.7549 MB / 1.514 GB, free: 10.3 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/1.359, allocations: 33.7 kB / 1.514 GB, free: 10.26 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/1.359, allocations: 0.5155 MB / 1.514 GB, free: 9.738 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/1.359, allocations: 190.4 kB / 1.515 GB, free: 9.551 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/1.36, allocations: 142.6 kB / 1.515 GB, free: 9.406 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.36, allocations: 334 kB / 1.515 GB, free: 9.074 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/1.36, allocations: 245.9 kB / 1.515 GB, free: 8.836 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007118/1.361, allocations: 0.5547 MB / 1.516 GB, free: 8.148 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.362, allocations: 0.8034 MB / 1.517 GB, free: 7.238 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.362, allocations: 0 / 1.517 GB, free: 7.238 MB / 1.201 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001395/1.363, allocations: 0.8465 MB / 1.517 GB, free: 6.387 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.363, allocations: 8 kB / 1.518 GB, free: 6.379 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.363, allocations: 8 kB / 1.518 GB, free: 6.371 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/1.364, allocations: 12.78 kB / 1.518 GB, free: 6.359 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/1.364, allocations: 155.8 kB / 1.518 GB, free: 6.207 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/1.364, allocations: 27.91 kB / 1.518 GB, free: 6.18 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/1.365, allocations: 91.33 kB / 1.518 GB, free: 6.09 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-05/1.365, allocations: 32 kB / 1.518 GB, free: 6.059 MB / 1.201 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.0005254/1.365, allocations: 341.3 kB / 1.518 GB, free: 5.715 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/1.366, allocations: 87.44 kB / 1.518 GB, free: 5.629 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/1.367, allocations: 0.6218 MB / 1.519 GB, free: 4.996 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.367, allocations: 4.047 kB / 1.519 GB, free: 4.992 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.367, allocations: 7.984 kB / 1.519 GB, free: 4.984 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008063/1.368, allocations: 0.5211 MB / 1.519 GB, free: 4.453 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/1.37, allocations: 1.659 MB / 1.521 GB, free: 2.711 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.37, allocations: 7.938 kB / 1.521 GB, free: 2.703 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/1.371, allocations: 107.9 kB / 1.521 GB, free: 2.598 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/1.371, allocations: 4 kB / 1.521 GB, free: 2.594 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/1.371, allocations: 16 kB / 1.521 GB, free: 2.578 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.472e-05/1.371, allocations: 11.98 kB / 1.521 GB, free: 2.566 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.371, allocations: 3.938 kB / 1.521 GB, free: 2.562 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/1.372, allocations: 1.027 MB / 1.522 GB, free: 1.5 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/1.373, allocations: 228.5 kB / 1.522 GB, free: 1.258 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/1.373, allocations: 11.98 kB / 1.522 GB, free: 1.246 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/1.373, allocations: 17.31 kB / 1.522 GB, free: 1.23 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/1.373, allocations: 35.89 kB / 1.522 GB, free: 1.195 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/1.373, allocations: 16 kB / 1.522 GB, free: 1.18 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007945/1.374, allocations: 0.5184 MB / 1.523 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.374, allocations: 0 / 1.523 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009498/1.375, allocations: 299.5 kB / 1.523 GB, free: 380 kB / 1.201 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.002181/1.377, allocations: 1.662 MB / 1.525 GB, free: 14.66 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001061/1.378, allocations: 0.5809 MB / 1.525 GB, free: 14.09 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.378, allocations: 8.25 kB / 1.525 GB, free: 14.08 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003979/1.379, allocations: 263.6 kB / 1.526 GB, free: 13.82 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/1.381, allocations: 433.4 kB / 1.526 GB, free: 13.41 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/1.392, allocations: 7.236 MB / 1.533 GB, free: 5.777 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000923/1.393, allocations: 1.129 MB / 1.534 GB, free: 4.621 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009285/1.393, allocations: 267 kB / 1.534 GB, free: 4.355 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000585/1.394, allocations: 363.3 kB / 1.535 GB, free: 4 MB / 1.217 GB Notification: Performance of SimCode: time 6.71e-07/1.394, allocations: 0 / 1.535 GB, free: 4 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05427/1.448, allocations: 23.26 MB / 1.558 GB, free: 13.11 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11.84, allocations: 8 kB / 1.558 GB, free: 13.1 MB / 1.248 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.14602378400741] Failed to read output from testmodel.py, exit status != 0: 11.987729115004186 12.011387679 10.669489119 Calling exit ...