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.000986/0.000986, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001081/0.001081, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8906/0.8906, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5538/0.5538, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.616e-05, allocations: 5.906 kB / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4324/0.4324, allocations: 172.5 MB / 0.7226 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.4452, allocations: 13.09 MB / 0.7354 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.4471, allocations: 53.19 kB / 0.7355 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.4489, allocations: 0.4936 MB / 0.736 GB, free: 41.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004722/0.4536, allocations: 1.99 MB / 0.7379 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.4559, allocations: 0.9329 MB / 0.7388 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003431/0.4594, allocations: 2.599 MB / 0.7414 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.4608, allocations: 0.7571 MB / 0.7421 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005147/0.4659, allocations: 2.195 MB / 0.7442 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.4679, allocations: 0.8614 MB / 0.7451 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000269/0.4682, allocations: 107.5 kB / 0.7452 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.4705, allocations: 0.9305 MB / 0.7461 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006462/0.4711, allocations: 0.5318 MB / 0.7466 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007897/0.4719, allocations: 459.6 kB / 0.747 GB, free: 39.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003642/0.4755, allocations: 1.947 MB / 0.7489 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4755, allocations: 1 kB / 0.7489 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.464e-06/0.4755, allocations: 1.469 kB / 0.7489 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.077e-05/0.4756, allocations: 0 / 0.7489 GB, free: 39.04 MB / 0.6355 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.002251/0.4778, allocations: 1.401 MB / 0.7503 GB, free: 38.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4779, allocations: 10.25 kB / 0.7503 GB, free: 38.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.478, allocations: 144.2 kB / 0.7505 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009377/0.4789, allocations: 264.1 kB / 0.7507 GB, free: 37.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.4801, allocations: 0.7232 MB / 0.7514 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.4802, allocations: 68.59 kB / 0.7515 GB, free: 37.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.4803, allocations: 95.75 kB / 0.7516 GB, free: 37.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.4818, allocations: 1.302 MB / 0.7529 GB, free: 36.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.4818, allocations: 2.312 kB / 0.7529 GB, free: 36.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.4819, allocations: 44 kB / 0.7529 GB, free: 36.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/0.4819, allocations: 33.66 kB / 0.7529 GB, free: 36.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.4831, allocations: 0.8993 MB / 0.7538 GB, free: 36.5 MB / 0.6355 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.003687/0.4868, allocations: 4.121 MB / 0.7578 GB, free: 33.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/0.4874, allocations: 0.5116 MB / 0.7583 GB, free: 33.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.4877, allocations: 296.9 kB / 0.7586 GB, free: 33.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/0.488, allocations: 83.31 kB / 0.7587 GB, free: 33.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.488, allocations: 38.41 kB / 0.7587 GB, free: 33.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 3.226e-06/0.488, allocations: 2.031 kB / 0.7587 GB, free: 33.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.001133/0.4892, allocations: 0.8064 MB / 0.7595 GB, free: 33.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.4892, allocations: 61.22 kB / 0.7596 GB, free: 32.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007161/0.4899, allocations: 0.773 MB / 0.7603 GB, free: 32.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.49, allocations: 32.39 kB / 0.7604 GB, free: 32.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.4902, allocations: 0.5089 MB / 0.7609 GB, free: 32.22 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.4903, allocations: 187 kB / 0.761 GB, free: 32.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.4904, allocations: 141.1 kB / 0.7612 GB, free: 32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.4905, allocations: 339.4 kB / 0.7615 GB, free: 31.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.4907, allocations: 250.4 kB / 0.7617 GB, free: 31.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/0.4911, allocations: 0.8358 MB / 0.7626 GB, free: 30.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000683/0.4918, allocations: 0.7997 MB / 0.7633 GB, free: 30.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4918, allocations: 1.938 kB / 0.7633 GB, free: 30.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009562/0.4928, allocations: 0.8513 MB / 0.7642 GB, free: 30 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4928, allocations: 10.94 kB / 0.7642 GB, free: 30 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.4928, allocations: 8.031 kB / 0.7642 GB, free: 30 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.4928, allocations: 13.41 kB / 0.7642 GB, free: 30 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.4932, allocations: 157.5 kB / 0.7643 GB, free: 29.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.4932, allocations: 18.05 kB / 0.7644 GB, free: 29.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005593/0.4938, allocations: 91.14 kB / 0.7645 GB, free: 29.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.4938, allocations: 35.91 kB / 0.7645 GB, free: 29.93 MB / 0.6355 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.000458/0.4943, allocations: 327.6 kB / 0.7648 GB, free: 29.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.4944, allocations: 91.41 kB / 0.7649 GB, free: 29.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007163/0.4951, allocations: 0.6234 MB / 0.7655 GB, free: 29.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4951, allocations: 5.312 kB / 0.7655 GB, free: 29.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4951, allocations: 0.9062 kB / 0.7655 GB, free: 29.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004869/0.4956, allocations: 0.5188 MB / 0.766 GB, free: 29.19 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.4974, allocations: 1.539 MB / 0.7675 GB, free: 28.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4974, allocations: 3.625 kB / 0.7675 GB, free: 28.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.4978, allocations: 118.2 kB / 0.7676 GB, free: 28.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.4978, allocations: 8.094 kB / 0.7676 GB, free: 28.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.4978, allocations: 13.19 kB / 0.7676 GB, free: 28.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.4978, allocations: 6.375 kB / 0.7677 GB, free: 28.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4978, allocations: 0 / 0.7677 GB, free: 28.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.4987, allocations: 1.021 MB / 0.7686 GB, free: 27.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.499, allocations: 159.6 kB / 0.7688 GB, free: 27.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.499, allocations: 12.91 kB / 0.7688 GB, free: 27.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.4993, allocations: 18.61 kB / 0.7688 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.4994, allocations: 36.52 kB / 0.7689 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.4994, allocations: 21.09 kB / 0.7689 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004263/0.4998, allocations: 0.5157 MB / 0.7694 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4998, allocations: 0 / 0.7694 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008171/0.5006, allocations: 298.6 kB / 0.7697 GB, free: 27.51 MB / 0.6355 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.001359/0.502, allocations: 1.656 MB / 0.7713 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000707/0.5027, allocations: 0.5912 MB / 0.7719 GB, free: 26.28 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5027, allocations: 3.719 kB / 0.7719 GB, free: 26.28 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.5029, allocations: 260.1 kB / 0.7721 GB, free: 26.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.5041, allocations: 425.5 kB / 0.7725 GB, free: 26.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006836/0.511, allocations: 7.157 MB / 0.7795 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.5113, allocations: 0.5275 MB / 0.78 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006957/0.512, allocations: 267.4 kB / 0.7803 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.5123, allocations: 363.1 kB / 0.7806 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.633e-06/0.5123, allocations: 3.938 kB / 0.7806 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04052/0.5528, allocations: 25.31 MB / 0.8054 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.429/7.982, allocations: 4.922 kB / 0.8054 GB, free: 13.85 MB / 0.6355 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 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: 10.465694694779813] Failed to read output from testmodel.py, exit status != 0: 8.07899592909962 8.087707081 7.609620061 Calling exit ...