Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001319/0.001319, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001423/0.001423, allocations: 216.8 kB / 22.99 MB, free: 4.977 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.056/1.056, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002282/0.002282, allocations: 70.39 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1974, allocations: 89.17 MB / 0.7282 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6546/0.8521, allocations: 172.7 MB / 0.8968 GB, free: 8.473 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.8715, allocations: 13.16 MB / 0.9097 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.873, allocations: 51.56 kB / 0.9097 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.8747, allocations: 0.4969 MB / 0.9102 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005428/0.8801, allocations: 1.933 MB / 0.9121 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.8832, allocations: 0.8833 MB / 0.9129 GB, free: 7.91 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004462/0.8877, allocations: 2.616 MB / 0.9155 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.8891, allocations: 0.7818 MB / 0.9163 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005578/0.8946, allocations: 1.895 MB / 0.9181 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.8967, allocations: 0.9278 MB / 0.919 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002493/0.897, allocations: 108 kB / 0.9191 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.8993, allocations: 0.9196 MB / 0.92 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005969/0.8999, allocations: 0.5064 MB / 0.9205 GB, free: 148 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008122/0.9007, allocations: 0.5291 MB / 0.921 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.9038, allocations: 1.9 MB / 0.9229 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.9038, allocations: 0 / 0.9229 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9038, allocations: 0 / 0.9229 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.342e-05/0.9039, allocations: 0 / 0.9229 GB, free: 13.71 MB / 0.7012 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.002717/0.9066, allocations: 1.415 MB / 0.9243 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.9066, allocations: 12.03 kB / 0.9243 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002079/0.9068, allocations: 143.6 kB / 0.9244 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.9082, allocations: 263 kB / 0.9247 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.9096, allocations: 0.737 MB / 0.9254 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/0.9097, allocations: 66 kB / 0.9255 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.9098, allocations: 92 kB / 0.9255 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.9117, allocations: 1.306 MB / 0.9268 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.9118, allocations: 4 kB / 0.9268 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.033e-05/0.9119, allocations: 36 kB / 0.9269 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.9119, allocations: 34 kB / 0.9269 GB, free: 9.438 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.9134, allocations: 0.9053 MB / 0.9278 GB, free: 8.531 MB / 0.7012 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.005667/0.9191, allocations: 4.138 MB / 0.9318 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009148/0.92, allocations: 0.5167 MB / 0.9323 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000458/0.9204, allocations: 294.6 kB / 0.9326 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004859/0.9209, allocations: 84.34 kB / 0.9327 GB, free: 3.363 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.921, allocations: 35 kB / 0.9327 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.845e-06/0.921, allocations: 4 kB / 0.9327 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001607/0.9226, allocations: 0.8069 MB / 0.9335 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.9226, allocations: 55.84 kB / 0.9336 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.9236, allocations: 0.7664 MB / 0.9343 GB, free: 1.66 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.9237, allocations: 41.7 kB / 0.9343 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.9241, allocations: 0.5195 MB / 0.9348 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.9243, allocations: 186.4 kB / 0.935 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.9246, allocations: 142.6 kB / 0.9352 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.9247, allocations: 334 kB / 0.9355 GB, free: 436 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.9251, allocations: 245.9 kB / 0.9357 GB, free: 188 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009586/0.9261, allocations: 0.8308 MB / 0.9365 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.9272, allocations: 0.8033 MB / 0.9373 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.9272, allocations: 4 kB / 0.9373 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001497/0.9287, allocations: 0.8472 MB / 0.9381 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.9287, allocations: 14.19 kB / 0.9382 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.9287, allocations: 12.12 kB / 0.9382 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.9287, allocations: 12 kB / 0.9382 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.9293, allocations: 155.7 kB / 0.9383 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-05/0.9293, allocations: 19.88 kB / 0.9383 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007539/0.9301, allocations: 91.38 kB / 0.9384 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/0.9302, allocations: 35.98 kB / 0.9385 GB, free: 13.05 MB / 0.7169 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.0005568/0.9307, allocations: 325.5 kB / 0.9388 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.9309, allocations: 95.44 kB / 0.9389 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.932, allocations: 0.6218 MB / 0.9395 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.932, allocations: 4 kB / 0.9395 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.932, allocations: 3.938 kB / 0.9395 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000774/0.9328, allocations: 0.5172 MB / 0.94 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.9355, allocations: 1.545 MB / 0.9415 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.9355, allocations: 7.938 kB / 0.9415 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.936, allocations: 103.9 kB / 0.9416 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.936, allocations: 4.047 kB / 0.9416 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/0.9361, allocations: 19.98 kB / 0.9416 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.9361, allocations: 4 kB / 0.9416 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.9361, allocations: 4 kB / 0.9416 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.9376, allocations: 1.027 MB / 0.9426 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000396/0.938, allocations: 155.3 kB / 0.9428 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.9381, allocations: 20 kB / 0.9428 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.9386, allocations: 15.98 kB / 0.9428 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.9387, allocations: 31.89 kB / 0.9429 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.9387, allocations: 29.05 kB / 0.9429 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000786/0.9395, allocations: 0.5146 MB / 0.9434 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9395, allocations: 0 / 0.9434 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001059/0.9405, allocations: 299.4 kB / 0.9437 GB, free: 7.594 MB / 0.7169 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.002225/0.9428, allocations: 1.64 MB / 0.9453 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.9439, allocations: 0.5871 MB / 0.9458 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9439, allocations: 1.875 kB / 0.9458 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.9443, allocations: 267.4 kB / 0.9461 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.9463, allocations: 449.2 kB / 0.9465 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.9571, allocations: 7.238 MB / 0.9536 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/0.9577, allocations: 0.5317 MB / 0.9541 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008559/0.9586, allocations: 259.1 kB / 0.9544 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/0.9591, allocations: 359.3 kB / 0.9547 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/0.9591, allocations: 0 / 0.9547 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06298/1.022, allocations: 25.46 MB / 0.9796 GB, free: 2.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.64, allocations: 2.812 kB / 0.9796 GB, free: 2.93 MB / 0.7481 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.618846540804952] Failed to read output from testmodel.py, exit status != 0: 12.765271277166903 12.790531485 11.881913719 Calling exit ...