Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.721/2.721, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003408/0.003408, allocations: 67.89 kB / 1.107 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.063, allocations: 168.7 MB / 1.272 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2897/1.353, allocations: 241.5 MB / 1.507 GB, free: 2.918 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01351/1.367, allocations: 7.244 MB / 1.514 GB, free: 11.66 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/1.368, allocations: 51.69 kB / 1.515 GB, free: 11.61 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/1.37, allocations: 0.7261 MB / 1.515 GB, free: 10.88 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00538/1.376, allocations: 2.164 MB / 1.517 GB, free: 8.707 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004969/1.381, allocations: 2.077 MB / 1.519 GB, free: 6.637 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004751/1.385, allocations: 3.292 MB / 1.523 GB, free: 3.336 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/1.387, allocations: 0.8646 MB / 1.523 GB, free: 2.445 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/1.391, allocations: 1.845 MB / 1.525 GB, free: 0.5938 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/1.393, allocations: 1.028 MB / 1.526 GB, free: 15.57 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002193/1.394, allocations: 124 kB / 1.526 GB, free: 15.45 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005131/1.399, allocations: 2.63 MB / 1.529 GB, free: 12.81 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007691/1.4, allocations: 474.5 kB / 1.529 GB, free: 12.35 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001172/1.401, allocations: 0.7194 MB / 1.53 GB, free: 11.62 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005412/1.406, allocations: 2.687 MB / 1.533 GB, free: 8.93 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.406, allocations: 4 kB / 1.533 GB, free: 8.926 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.513e-06/1.406, allocations: 0 / 1.533 GB, free: 8.926 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.687e-05/1.406, allocations: 0 / 1.533 GB, free: 8.926 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003138/1.409, allocations: 1.757 MB / 1.534 GB, free: 7.109 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.409, allocations: 12.03 kB / 1.534 GB, free: 7.098 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/1.41, allocations: 130.8 kB / 1.535 GB, free: 6.961 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/1.412, allocations: 426.7 kB / 1.535 GB, free: 6.543 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/1.414, allocations: 1.027 MB / 1.536 GB, free: 5.473 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.766e-05/1.414, allocations: 73.92 kB / 1.536 GB, free: 5.402 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/1.414, allocations: 83.95 kB / 1.536 GB, free: 5.32 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/1.416, allocations: 0.8662 MB / 1.537 GB, free: 4.449 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/1.416, allocations: 0 / 1.537 GB, free: 4.449 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/1.416, allocations: 36 kB / 1.537 GB, free: 4.414 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.985e-05/1.416, allocations: 30 kB / 1.537 GB, free: 4.383 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/1.417, allocations: 0.8042 MB / 1.538 GB, free: 3.578 MB / 1.217 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.005302/1.423, allocations: 3.652 MB / 1.541 GB, free: 15.63 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/1.424, allocations: 1.065 MB / 1.542 GB, free: 14.45 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/1.425, allocations: 343.2 kB / 1.543 GB, free: 14.11 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007299/1.426, allocations: 404.8 kB / 1.543 GB, free: 13.65 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/1.426, allocations: 43.12 kB / 1.543 GB, free: 13.6 MB / 1.232 GB Notification: Performance of pre-optimization done (n=60): time 2.725e-06/1.426, allocations: 0 / 1.543 GB, free: 13.6 MB / 1.232 GB Notification: Performance of matching and sorting (n=60): time 0.002413/1.428, allocations: 0.9628 MB / 1.544 GB, free: 12.63 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/1.428, allocations: 59.97 kB / 1.544 GB, free: 12.56 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/1.429, allocations: 0.8439 MB / 1.545 GB, free: 11.69 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/1.429, allocations: 37.7 kB / 1.545 GB, free: 11.65 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/1.43, allocations: 484.8 kB / 1.545 GB, free: 11.17 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/1.43, allocations: 226.1 kB / 1.546 GB, free: 10.95 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/1.43, allocations: 114.1 kB / 1.546 GB, free: 10.83 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.43, allocations: 326 kB / 1.546 GB, free: 10.5 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/1.431, allocations: 259 kB / 1.546 GB, free: 10.25 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000646/1.432, allocations: 371.4 kB / 1.547 GB, free: 9.852 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/1.433, allocations: 0.593 MB / 1.547 GB, free: 9.242 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.433, allocations: 0 / 1.547 GB, free: 9.242 MB / 1.232 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001608/1.434, allocations: 0.7403 MB / 1.548 GB, free: 8.496 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.434, allocations: 8 kB / 1.548 GB, free: 8.488 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.434, allocations: 0 / 1.548 GB, free: 8.488 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/1.434, allocations: 4 kB / 1.548 GB, free: 8.484 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/1.435, allocations: 128 kB / 1.548 GB, free: 8.359 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.435, allocations: 3.938 kB / 1.548 GB, free: 8.355 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/1.436, allocations: 75.58 kB / 1.548 GB, free: 8.281 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/1.436, allocations: 20 kB / 1.548 GB, free: 8.262 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009266/1.437, allocations: 0.4893 MB / 1.549 GB, free: 7.77 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006079/1.437, allocations: 363.5 kB / 1.549 GB, free: 7.379 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001053/1.438, allocations: 0.5774 MB / 1.55 GB, free: 6.785 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/1.438, allocations: 0 / 1.55 GB, free: 6.785 MB / 1.232 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001466/1.44, allocations: 0.7325 MB / 1.55 GB, free: 6.047 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.44, allocations: 10.19 kB / 1.55 GB, free: 6.039 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/1.44, allocations: 0 / 1.55 GB, free: 6.039 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/1.44, allocations: 4.188 kB / 1.55 GB, free: 6.035 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/1.44, allocations: 123.8 kB / 1.55 GB, free: 5.914 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/1.44, allocations: 7.938 kB / 1.55 GB, free: 5.906 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007242/1.441, allocations: 79.7 kB / 1.551 GB, free: 5.828 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/1.441, allocations: 23.98 kB / 1.551 GB, free: 5.805 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0002319/1.442, allocations: 216.1 kB / 1.551 GB, free: 5.586 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/1.442, allocations: 111.3 kB / 1.551 GB, free: 5.477 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/1.443, allocations: 0.7354 MB / 1.552 GB, free: 4.734 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/1.443, allocations: 12 kB / 1.552 GB, free: 4.723 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.443, allocations: 3.984 kB / 1.552 GB, free: 4.719 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001282/1.445, allocations: 0.9033 MB / 1.553 GB, free: 3.734 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003698/1.448, allocations: 2.255 MB / 1.555 GB, free: 1.336 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.448, allocations: 4 kB / 1.555 GB, free: 1.332 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/1.449, allocations: 135.8 kB / 1.555 GB, free: 1.199 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/1.449, allocations: 4.406 kB / 1.555 GB, free: 1.195 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-05/1.449, allocations: 23.98 kB / 1.555 GB, free: 1.172 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/1.449, allocations: 8 kB / 1.555 GB, free: 1.164 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.449, allocations: 4 kB / 1.555 GB, free: 1.16 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/1.451, allocations: 1.239 MB / 1.556 GB, free: 15.86 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/1.452, allocations: 264.2 kB / 1.556 GB, free: 15.59 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/1.452, allocations: 19.98 kB / 1.556 GB, free: 15.57 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006505/1.452, allocations: 43.95 kB / 1.556 GB, free: 15.52 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.452, allocations: 44.33 kB / 1.556 GB, free: 15.48 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-05/1.452, allocations: 23.98 kB / 1.556 GB, free: 15.46 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009075/1.453, allocations: 0.5862 MB / 1.557 GB, free: 14.86 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.453, allocations: 0 / 1.557 GB, free: 14.86 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00134/1.455, allocations: 0.5264 MB / 1.558 GB, free: 14.33 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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.002828/1.458, allocations: 1.913 MB / 1.559 GB, free: 12.36 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00189/1.459, allocations: 0.8958 MB / 1.56 GB, free: 11.46 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.459, allocations: 0 / 1.56 GB, free: 11.46 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005962/1.46, allocations: 335.1 kB / 1.561 GB, free: 11.13 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/1.463, allocations: 0.5982 MB / 1.561 GB, free: 10.54 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/1.475, allocations: 7.638 MB / 1.569 GB, free: 2.68 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008088/1.475, allocations: 1.128 MB / 1.57 GB, free: 1.52 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001055/1.476, allocations: 304 kB / 1.57 GB, free: 1.219 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005963/1.477, allocations: 415.3 kB / 1.57 GB, free: 0.8125 MB / 1.248 GB Notification: Performance of SimCode: time 1.293e-06/1.477, allocations: 0 / 1.57 GB, free: 0.8125 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06927/1.546, allocations: 29.59 MB / 1.599 GB, free: 3.648 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.871/11.42, allocations: 1.625 kB / 1.599 GB, free: 3.648 MB / 1.279 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.409341681021033] Failed to read output from testmodel.py, exit status != 0: 11.508570747013437 11.521501254 10.112084164 Calling exit ...