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.0009206/0.0009206, allocations: 108.3 kB / 19.72 MB, free: 416 kB / 13.93 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.001218/0.001218, allocations: 213.2 kB / 23.03 MB, free: 2.953 MB / 13.93 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.058/1.058, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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 2.065/2.065, allocations: 0.5045 GB / 0.8104 GB, free: 2.75 MB / 0.6511 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 0.001001/0.001001, allocations: 63.91 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7749/0.7759, allocations: 180 MB / 1.352 GB, free: 1.668 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1532/0.9291, allocations: 172.7 MB / 1.521 GB, free: 4.301 MB / 1.198 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.9421, allocations: 13.13 MB / 1.534 GB, free: 7.141 MB / 1.214 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.9433, allocations: 47.62 kB / 1.534 GB, free: 7.094 MB / 1.214 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.9448, allocations: 0.493 MB / 1.534 GB, free: 6.598 MB / 1.214 GB Notification: Performance of NFTyping.typeBindings: time 0.004236/0.949, allocations: 1.937 MB / 1.536 GB, free: 4.652 MB / 1.214 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.951, allocations: 0.8796 MB / 1.537 GB, free: 3.777 MB / 1.214 GB Notification: Performance of NFFlatten.flatten: time 0.002911/0.9539, allocations: 2.577 MB / 1.54 GB, free: 1.191 MB / 1.214 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009941/0.9549, allocations: 0.7657 MB / 1.54 GB, free: 412 kB / 1.214 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00373/0.9587, allocations: 1.879 MB / 1.542 GB, free: 14.54 MB / 1.229 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.96, allocations: 0.9324 MB / 1.543 GB, free: 13.6 MB / 1.229 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.9602, allocations: 104 kB / 1.543 GB, free: 13.5 MB / 1.229 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.9618, allocations: 0.9157 MB / 1.544 GB, free: 12.58 MB / 1.229 GB Notification: Performance of NFScalarize.scalarize: time 0.0004052/0.9622, allocations: 0.5142 MB / 1.545 GB, free: 12.07 MB / 1.229 GB Notification: Performance of NFVerifyModel.verify: time 0.0005833/0.9628, allocations: 0.5213 MB / 1.545 GB, free: 11.54 MB / 1.229 GB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.9652, allocations: 1.907 MB / 1.547 GB, free: 9.629 MB / 1.229 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.9652, allocations: 4 kB / 1.547 GB, free: 9.625 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9652, allocations: 0 / 1.547 GB, free: 9.625 MB / 1.229 GB Notification: Performance of Transformations before backend: time 2.502e-05/0.9653, allocations: 0 / 1.547 GB, free: 9.625 MB / 1.229 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.001865/0.9671, allocations: 1.407 MB / 1.548 GB, free: 8.184 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.9672, allocations: 12.91 kB / 1.549 GB, free: 8.172 MB / 1.229 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.9673, allocations: 143.6 kB / 1.549 GB, free: 8.023 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008354/0.9681, allocations: 259 kB / 1.549 GB, free: 7.77 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009792/0.9691, allocations: 0.7206 MB / 1.55 GB, free: 7.02 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.9692, allocations: 70 kB / 1.55 GB, free: 6.953 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.9693, allocations: 92 kB / 1.55 GB, free: 6.863 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.9705, allocations: 1.302 MB / 1.551 GB, free: 5.457 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.9706, allocations: 0 / 1.551 GB, free: 5.457 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.9706, allocations: 51.86 kB / 1.551 GB, free: 5.406 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.9707, allocations: 34 kB / 1.551 GB, free: 5.375 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009896/0.9716, allocations: 0.8937 MB / 1.552 GB, free: 4.477 MB / 1.229 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.00351/0.9752, allocations: 4.141 MB / 1.556 GB, free: 212 kB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/0.9758, allocations: 0.5194 MB / 1.557 GB, free: 15.68 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.9761, allocations: 306.2 kB / 1.557 GB, free: 15.38 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/0.9763, allocations: 76.36 kB / 1.557 GB, free: 15.3 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.9764, allocations: 42.98 kB / 1.557 GB, free: 15.25 MB / 1.245 GB Notification: Performance of pre-optimization done (n=49): time 2.144e-06/0.9764, allocations: 0 / 1.557 GB, free: 15.25 MB / 1.245 GB Notification: Performance of matching and sorting (n=49): time 0.00101/0.9774, allocations: 0.8031 MB / 1.558 GB, free: 14.45 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.9774, allocations: 55.84 kB / 1.558 GB, free: 14.38 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006304/0.978, allocations: 0.7587 MB / 1.559 GB, free: 13.61 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.9781, allocations: 37.7 kB / 1.559 GB, free: 13.57 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.9784, allocations: 0.5194 MB / 1.559 GB, free: 13.04 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.9785, allocations: 186.5 kB / 1.559 GB, free: 12.86 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.9786, allocations: 142.6 kB / 1.559 GB, free: 12.71 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.9787, allocations: 337.9 kB / 1.56 GB, free: 12.38 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.979, allocations: 249.8 kB / 1.56 GB, free: 12.13 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.9795, allocations: 0.8385 MB / 1.561 GB, free: 11.09 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/0.9801, allocations: 0.8034 MB / 1.562 GB, free: 10.18 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.9801, allocations: 7.938 kB / 1.562 GB, free: 10.18 MB / 1.245 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008286/0.981, allocations: 0.8467 MB / 1.562 GB, free: 9.32 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.981, allocations: 12 kB / 1.562 GB, free: 9.309 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.981, allocations: 8.047 kB / 1.562 GB, free: 9.301 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.981, allocations: 15.98 kB / 1.562 GB, free: 9.285 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.9813, allocations: 155.8 kB / 1.563 GB, free: 9.133 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.9813, allocations: 16.55 kB / 1.563 GB, free: 9.117 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.9817, allocations: 95.33 kB / 1.563 GB, free: 9.023 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.9818, allocations: 35.94 kB / 1.563 GB, free: 8.988 MB / 1.245 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.0003113/0.9821, allocations: 329.5 kB / 1.563 GB, free: 8.656 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/0.9822, allocations: 87.44 kB / 1.563 GB, free: 8.57 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000656/0.9828, allocations: 0.6218 MB / 1.564 GB, free: 7.938 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.9828, allocations: 4 kB / 1.564 GB, free: 7.934 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.9828, allocations: 0 / 1.564 GB, free: 7.934 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004723/0.9833, allocations: 0.5289 MB / 1.564 GB, free: 7.395 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.9848, allocations: 1.541 MB / 1.566 GB, free: 5.777 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.9848, allocations: 4 kB / 1.566 GB, free: 5.773 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.9851, allocations: 103.9 kB / 1.566 GB, free: 5.672 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.9851, allocations: 4 kB / 1.566 GB, free: 5.668 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.9852, allocations: 24.2 kB / 1.566 GB, free: 5.645 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.9852, allocations: 11.92 kB / 1.566 GB, free: 5.633 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9852, allocations: 0 / 1.566 GB, free: 5.633 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.9861, allocations: 1.019 MB / 1.567 GB, free: 4.578 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.9863, allocations: 155.3 kB / 1.567 GB, free: 4.426 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.9864, allocations: 15.98 kB / 1.567 GB, free: 4.41 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.9866, allocations: 20 kB / 1.567 GB, free: 4.391 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.9866, allocations: 31.94 kB / 1.567 GB, free: 4.359 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.9867, allocations: 23.98 kB / 1.567 GB, free: 4.336 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.0004291/0.9871, allocations: 0.5146 MB / 1.568 GB, free: 3.828 MB / 1.245 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9871, allocations: 3.938 kB / 1.568 GB, free: 3.824 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.0006255/0.9877, allocations: 299.4 kB / 1.568 GB, free: 3.531 MB / 1.245 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.001399/0.9891, allocations: 1.654 MB / 1.569 GB, free: 1.832 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.00076/0.9899, allocations: 0.6003 MB / 1.57 GB, free: 1.234 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.9899, allocations: 0 / 1.57 GB, free: 1.234 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.9901, allocations: 256 kB / 1.57 GB, free: 0.9844 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.9912, allocations: 421.1 kB / 1.571 GB, free: 0.5781 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006803/0.998, allocations: 7.234 MB / 1.578 GB, free: 8.953 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.9984, allocations: 0.5277 MB / 1.578 GB, free: 8.391 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.0006268/0.999, allocations: 271.1 kB / 1.579 GB, free: 8.121 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.9993, allocations: 359.3 kB / 1.579 GB, free: 7.77 MB / 1.26 GB Notification: Performance of SimCode: time 1.453e-06/0.9993, allocations: 0 / 1.579 GB, free: 7.77 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/1.113, allocations: 25.28 MB / 1.604 GB, free: 15.07 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.388/8.501, allocations: 14.59 kB / 1.604 GB, free: 15.06 MB / 1.292 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.74514789879322]