Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008713/0.0008713, allocations: 80.45 kB / 19.95 MB, free: 4.602 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.0008669/0.0008669, allocations: 169.2 kB / 23.24 MB, free: 1.316 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.887/0.887, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.921/1.921, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.327e-05, allocations: 6.078 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6633/0.6633, allocations: 172.5 MB / 1.169 GB, free: 7.113 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.6788, allocations: 13.09 MB / 1.182 GB, free: 14.34 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.68, allocations: 51.34 kB / 1.182 GB, free: 14.31 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.6814, allocations: 0.4969 MB / 1.182 GB, free: 14.02 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.003959/0.6853, allocations: 1.992 MB / 1.184 GB, free: 12.95 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.6873, allocations: 0.9196 MB / 1.185 GB, free: 12.48 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.002978/0.6903, allocations: 2.603 MB / 1.188 GB, free: 11.25 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008824/0.6912, allocations: 0.7588 MB / 1.189 GB, free: 10.9 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/0.6949, allocations: 2.189 MB / 1.191 GB, free: 9.949 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.6961, allocations: 0.8629 MB / 1.192 GB, free: 9.672 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.6962, allocations: 110.7 kB / 1.192 GB, free: 9.668 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.6978, allocations: 0.9242 MB / 1.193 GB, free: 9.348 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004308/0.6983, allocations: 0.5372 MB / 1.193 GB, free: 9.109 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005375/0.6988, allocations: 457.1 kB / 1.194 GB, free: 8.93 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.7009, allocations: 1.945 MB / 1.195 GB, free: 8.25 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7009, allocations: 0 / 1.195 GB, free: 8.25 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7009, allocations: 1.219 kB / 1.195 GB, free: 8.25 MB / 1.042 GB Notification: Performance of Transformations before backend: time 3.923e-05/0.7009, allocations: 0 / 1.195 GB, free: 8.25 MB / 1.042 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.002026/0.7029, allocations: 1.4 MB / 1.197 GB, free: 7.332 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.703, allocations: 14.75 kB / 1.197 GB, free: 7.328 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.7032, allocations: 147.2 kB / 1.197 GB, free: 7.23 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000957/0.7041, allocations: 261 kB / 1.197 GB, free: 7.148 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.7051, allocations: 0.7194 MB / 1.198 GB, free: 6.727 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.7052, allocations: 68 kB / 1.198 GB, free: 6.695 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.7053, allocations: 95.53 kB / 1.198 GB, free: 6.664 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.7068, allocations: 1.301 MB / 1.199 GB, free: 5.941 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.7068, allocations: 1.281 kB / 1.199 GB, free: 5.941 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.7069, allocations: 38.97 kB / 1.199 GB, free: 5.914 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.785e-05/0.7069, allocations: 31.44 kB / 1.199 GB, free: 5.91 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.7082, allocations: 0.9084 MB / 1.2 GB, free: 5.602 MB / 1.042 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.004321/0.7125, allocations: 4.132 MB / 1.204 GB, free: 2.602 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000825/0.7133, allocations: 0.5082 MB / 1.205 GB, free: 2.34 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.7137, allocations: 296.4 kB / 1.205 GB, free: 2.191 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.714, allocations: 79.08 kB / 1.205 GB, free: 2.164 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.714, allocations: 37.81 kB / 1.205 GB, free: 2.121 MB / 1.042 GB Notification: Performance of pre-optimization done (n=49): time 2.475e-06/0.714, allocations: 1.375 kB / 1.205 GB, free: 2.121 MB / 1.042 GB Notification: Performance of matching and sorting (n=49): time 0.001232/0.7152, allocations: 0.8042 MB / 1.206 GB, free: 1.723 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.7153, allocations: 61.55 kB / 1.206 GB, free: 1.656 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008014/0.7161, allocations: 0.7646 MB / 1.207 GB, free: 1.223 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.7161, allocations: 36.45 kB / 1.207 GB, free: 1.184 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004341/0.7166, allocations: 0.5149 MB / 1.207 GB, free: 0.7227 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.7167, allocations: 181.8 kB / 1.208 GB, free: 0.5664 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.7168, allocations: 144.6 kB / 1.208 GB, free: 492 kB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.7169, allocations: 339.3 kB / 1.208 GB, free: 156 kB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.7173, allocations: 251.4 kB / 1.208 GB, free: 28 kB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/0.7179, allocations: 0.8305 MB / 1.209 GB, free: 15.17 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007133/0.7186, allocations: 0.8001 MB / 1.21 GB, free: 14.56 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7186, allocations: 3.031 kB / 1.21 GB, free: 14.56 MB / 1.057 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009006/0.7195, allocations: 0.854 MB / 1.211 GB, free: 14.12 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.7195, allocations: 14.59 kB / 1.211 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.7195, allocations: 9.031 kB / 1.211 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.7195, allocations: 14.09 kB / 1.211 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.7199, allocations: 157.3 kB / 1.211 GB, free: 14.08 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.7199, allocations: 19.17 kB / 1.211 GB, free: 14.07 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.7203, allocations: 89.33 kB / 1.211 GB, free: 14.02 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.7204, allocations: 32.56 kB / 1.211 GB, free: 14.01 MB / 1.057 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.0003236/0.7207, allocations: 339.7 kB / 1.211 GB, free: 13.76 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.7208, allocations: 88.62 kB / 1.211 GB, free: 13.71 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009611/0.7217, allocations: 0.6191 MB / 1.212 GB, free: 13.36 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.7217, allocations: 6.531 kB / 1.212 GB, free: 13.36 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.7218, allocations: 0 / 1.212 GB, free: 13.36 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004974/0.7222, allocations: 0.5171 MB / 1.213 GB, free: 13.08 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.7238, allocations: 1.54 MB / 1.214 GB, free: 12.08 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7238, allocations: 2.938 kB / 1.214 GB, free: 12.08 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.7242, allocations: 113.1 kB / 1.214 GB, free: 12.05 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.7242, allocations: 2.25 kB / 1.214 GB, free: 12.05 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.7242, allocations: 24.36 kB / 1.214 GB, free: 12.04 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.7242, allocations: 2.688 kB / 1.214 GB, free: 12.04 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.7242, allocations: 2.281 kB / 1.214 GB, free: 12.04 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009497/0.7252, allocations: 1.021 MB / 1.215 GB, free: 11.41 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.7254, allocations: 157.5 kB / 1.215 GB, free: 11.31 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.7254, allocations: 21.67 kB / 1.215 GB, free: 11.29 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.7257, allocations: 23.7 kB / 1.215 GB, free: 11.28 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.7257, allocations: 39.88 kB / 1.215 GB, free: 11.25 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.7258, allocations: 17.44 kB / 1.215 GB, free: 11.25 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0004679/0.7262, allocations: 0.5121 MB / 1.216 GB, free: 10.96 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.7262, allocations: 2.781 kB / 1.216 GB, free: 10.96 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0006602/0.7269, allocations: 296.3 kB / 1.216 GB, free: 10.9 MB / 1.057 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.001425/0.7283, allocations: 1.658 MB / 1.218 GB, free: 9.711 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.000636/0.7289, allocations: 0.5902 MB / 1.218 GB, free: 9.441 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7289, allocations: 0 / 1.218 GB, free: 9.441 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.7292, allocations: 257.7 kB / 1.219 GB, free: 9.328 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.7303, allocations: 435.4 kB / 1.219 GB, free: 9.102 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007668/0.738, allocations: 7.145 MB / 1.226 GB, free: 4.293 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.7384, allocations: 0.5238 MB / 1.227 GB, free: 3.738 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0005602/0.7389, allocations: 267.1 kB / 1.227 GB, free: 3.473 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.7393, allocations: 364.4 kB / 1.227 GB, free: 3.117 MB / 1.057 GB Notification: Performance of SimCode: time 8.11e-07/0.7393, allocations: 0 / 1.227 GB, free: 3.117 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1329/0.8722, allocations: 25.32 MB / 1.252 GB, free: 10.37 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.732, allocations: 6.438 kB / 1.252 GB, free: 10.37 MB / 1.089 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_fmpy_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 ../Buildings_13_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.55832436028868]