Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.001543/0.001543, allocations: 123.1 kB / 17.17 MB, free: 5.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.001992/0.001992, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.557/1.557, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.866/2.866, allocations: 0.49 GB / 0.7923 GB, free: 1.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002124/0.002124, allocations: 67.91 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.973/0.9751, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2824/1.257, allocations: 243.9 MB / 1.56 GB, free: 5.242 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01306/1.271, allocations: 7.218 MB / 1.567 GB, free: 14.01 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/1.273, allocations: 79.31 kB / 1.567 GB, free: 13.93 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002247/1.275, allocations: 0.7261 MB / 1.568 GB, free: 13.2 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.006725/1.282, allocations: 2.169 MB / 1.57 GB, free: 11.03 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005518/1.287, allocations: 2.05 MB / 1.572 GB, free: 8.984 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005453/1.293, allocations: 3.285 MB / 1.575 GB, free: 5.688 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/1.294, allocations: 0.9345 MB / 1.576 GB, free: 4.73 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005046/1.299, allocations: 2.153 MB / 1.578 GB, free: 2.57 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/1.302, allocations: 1.001 MB / 1.579 GB, free: 1.566 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003162/1.302, allocations: 120 kB / 1.579 GB, free: 1.449 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00654/1.309, allocations: 2.611 MB / 1.582 GB, free: 14.83 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0006976/1.31, allocations: 470.5 kB / 1.582 GB, free: 14.37 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/1.311, allocations: 0.731 MB / 1.583 GB, free: 13.64 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.006484/1.317, allocations: 2.69 MB / 1.585 GB, free: 10.94 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.317, allocations: 0 / 1.585 GB, free: 10.94 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.976e-06/1.317, allocations: 0 / 1.585 GB, free: 10.94 MB / 1.264 GB Notification: Performance of Transformations before backend: time 7.886e-05/1.317, allocations: 0 / 1.585 GB, free: 10.94 MB / 1.264 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.004334/1.322, allocations: 1.765 MB / 1.587 GB, free: 9.113 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/1.322, allocations: 11.98 kB / 1.587 GB, free: 9.102 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.121e-05/1.322, allocations: 26 kB / 1.587 GB, free: 9.078 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/1.322, allocations: 130.8 kB / 1.587 GB, free: 8.941 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002864/1.325, allocations: 426.8 kB / 1.588 GB, free: 8.523 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/1.327, allocations: 1.051 MB / 1.589 GB, free: 7.43 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/1.327, allocations: 65.98 kB / 1.589 GB, free: 7.363 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/1.327, allocations: 80 kB / 1.589 GB, free: 7.285 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/1.329, allocations: 0.8624 MB / 1.59 GB, free: 6.418 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/1.329, allocations: 0 / 1.59 GB, free: 6.418 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.073e-05/1.329, allocations: 32 kB / 1.59 GB, free: 6.387 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/1.329, allocations: 30 kB / 1.59 GB, free: 6.359 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/1.331, allocations: 0.8081 MB / 1.59 GB, free: 5.547 MB / 1.264 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.005753/1.336, allocations: 3.735 MB / 1.594 GB, free: 1.5 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/1.338, allocations: 1.072 MB / 1.595 GB, free: 320 kB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000644/1.339, allocations: 355 kB / 1.595 GB, free: 15.96 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007516/1.34, allocations: 404.9 kB / 1.596 GB, free: 15.5 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/1.34, allocations: 43.12 kB / 1.596 GB, free: 15.45 MB / 1.279 GB Notification: Performance of pre-optimization done (n=60): time 2.555e-06/1.34, allocations: 0 / 1.596 GB, free: 15.45 MB / 1.279 GB Notification: Performance of matching and sorting (n=60): time 0.002316/1.342, allocations: 0.9551 MB / 1.597 GB, free: 14.49 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/1.342, allocations: 63.95 kB / 1.597 GB, free: 14.41 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/1.343, allocations: 0.8445 MB / 1.598 GB, free: 13.54 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-05/1.343, allocations: 37.7 kB / 1.598 GB, free: 13.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/1.344, allocations: 496.7 kB / 1.598 GB, free: 13.01 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/1.344, allocations: 222 kB / 1.598 GB, free: 12.79 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/1.344, allocations: 114.2 kB / 1.599 GB, free: 12.67 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.344, allocations: 329.9 kB / 1.599 GB, free: 12.34 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/1.345, allocations: 255 kB / 1.599 GB, free: 12.09 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/1.345, allocations: 363.4 kB / 1.599 GB, free: 11.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/1.346, allocations: 0.5891 MB / 1.6 GB, free: 11.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.347, allocations: 3.938 kB / 1.6 GB, free: 11.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001454/1.348, allocations: 0.7442 MB / 1.601 GB, free: 10.34 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.348, allocations: 8 kB / 1.601 GB, free: 10.34 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.348, allocations: 0 / 1.601 GB, free: 10.34 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/1.348, allocations: 4.094 kB / 1.601 GB, free: 10.33 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006178/1.349, allocations: 131.7 kB / 1.601 GB, free: 10.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/1.349, allocations: 8.125 kB / 1.601 GB, free: 10.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009069/1.35, allocations: 75.58 kB / 1.601 GB, free: 10.12 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/1.35, allocations: 20 kB / 1.601 GB, free: 10.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009889/1.351, allocations: 497 kB / 1.601 GB, free: 9.613 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006483/1.351, allocations: 363.5 kB / 1.602 GB, free: 9.223 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001087/1.352, allocations: 0.5813 MB / 1.602 GB, free: 8.629 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/1.352, allocations: 0 / 1.602 GB, free: 8.629 MB / 1.279 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001463/1.354, allocations: 0.7325 MB / 1.603 GB, free: 7.887 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.354, allocations: 11.98 kB / 1.603 GB, free: 7.875 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/1.354, allocations: 0 / 1.603 GB, free: 7.875 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-06/1.354, allocations: 4 kB / 1.603 GB, free: 7.871 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/1.354, allocations: 123.8 kB / 1.603 GB, free: 7.75 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/1.354, allocations: 4 kB / 1.603 GB, free: 7.746 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008795/1.355, allocations: 71.78 kB / 1.603 GB, free: 7.676 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/1.355, allocations: 24 kB / 1.603 GB, free: 7.652 MB / 1.279 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.0002916/1.356, allocations: 212.1 kB / 1.604 GB, free: 7.438 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/1.356, allocations: 107.3 kB / 1.604 GB, free: 7.332 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/1.358, allocations: 0.7392 MB / 1.604 GB, free: 6.59 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.547e-06/1.358, allocations: 4 kB / 1.604 GB, free: 6.586 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.358, allocations: 4 kB / 1.604 GB, free: 6.582 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001308/1.359, allocations: 0.8995 MB / 1.605 GB, free: 5.598 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003907/1.363, allocations: 2.255 MB / 1.607 GB, free: 3.203 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.363, allocations: 0 / 1.607 GB, free: 3.203 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/1.363, allocations: 139.7 kB / 1.608 GB, free: 3.066 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/1.364, allocations: 8 kB / 1.608 GB, free: 3.059 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/1.364, allocations: 16.41 kB / 1.608 GB, free: 3.043 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/1.364, allocations: 11.98 kB / 1.608 GB, free: 3.031 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.364, allocations: 7.938 kB / 1.608 GB, free: 3.023 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/1.366, allocations: 1.235 MB / 1.609 GB, free: 1.734 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004917/1.366, allocations: 264.3 kB / 1.609 GB, free: 1.457 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/1.366, allocations: 16 kB / 1.609 GB, free: 1.441 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007635/1.367, allocations: 44.08 kB / 1.609 GB, free: 1.398 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.367, allocations: 56.25 kB / 1.609 GB, free: 1.344 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/1.367, allocations: 24 kB / 1.609 GB, free: 1.32 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0009754/1.368, allocations: 0.5904 MB / 1.61 GB, free: 0.7188 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/1.368, allocations: 0 / 1.61 GB, free: 0.7188 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001653/1.37, allocations: 0.5381 MB / 1.61 GB, free: 184 kB / 1.279 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.002694/1.373, allocations: 1.905 MB / 1.612 GB, free: 14.21 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001968/1.375, allocations: 0.896 MB / 1.613 GB, free: 13.31 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.375, allocations: 7.938 kB / 1.613 GB, free: 13.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006085/1.375, allocations: 323.2 kB / 1.613 GB, free: 12.99 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/1.378, allocations: 0.5982 MB / 1.614 GB, free: 12.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/1.391, allocations: 7.653 MB / 1.621 GB, free: 4.512 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.392, allocations: 1.128 MB / 1.623 GB, free: 3.355 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001159/1.393, allocations: 300.1 kB / 1.623 GB, free: 3.059 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006897/1.394, allocations: 419.3 kB / 1.623 GB, free: 2.648 MB / 1.295 GB Notification: Performance of SimCode: time 1.193e-06/1.394, allocations: 0 / 1.623 GB, free: 2.648 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06451/1.458, allocations: 29.59 MB / 1.652 GB, free: 5.508 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/11.51, allocations: 9.766 kB / 1.652 GB, free: 5.5 MB / 1.326 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.03632040094817] Failed to read output from testmodel.py, exit status != 0: 11.65500939701451 11.669984946 10.34930405 Calling exit ...