Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002049/0.002049, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002505/0.002505, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.99/2.99, allocations: 0.5003 GB / 0.8026 GB, free: 6.734 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_latest_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.001915/0.001915, allocations: 71.89 kB / 1.165 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.905/0.907, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2823/1.189, allocations: 243.9 MB / 1.578 GB, free: 4.027 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01199/1.201, allocations: 7.217 MB / 1.585 GB, free: 12.8 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/1.203, allocations: 75.31 kB / 1.585 GB, free: 12.72 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/1.205, allocations: 0.7261 MB / 1.586 GB, free: 11.99 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.005586/1.211, allocations: 2.164 MB / 1.588 GB, free: 9.82 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005112/1.216, allocations: 2.058 MB / 1.59 GB, free: 7.77 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005412/1.221, allocations: 3.276 MB / 1.593 GB, free: 4.488 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/1.223, allocations: 0.9344 MB / 1.594 GB, free: 3.535 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004991/1.228, allocations: 2.157 MB / 1.597 GB, free: 1.371 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/1.23, allocations: 1.007 MB / 1.597 GB, free: 372 kB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/1.23, allocations: 128 kB / 1.598 GB, free: 244 kB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004815/1.235, allocations: 2.603 MB / 1.6 GB, free: 13.63 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0006149/1.236, allocations: 474.5 kB / 1.601 GB, free: 13.16 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/1.237, allocations: 0.7232 MB / 1.601 GB, free: 12.44 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.005342/1.242, allocations: 2.694 MB / 1.604 GB, free: 9.734 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.242, allocations: 4 kB / 1.604 GB, free: 9.73 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.943e-06/1.242, allocations: 0 / 1.604 GB, free: 9.73 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.836e-05/1.242, allocations: 0 / 1.604 GB, free: 9.73 MB / 1.279 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.003145/1.245, allocations: 1.761 MB / 1.606 GB, free: 7.914 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.245, allocations: 12.03 kB / 1.606 GB, free: 7.902 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.631e-05/1.245, allocations: 22 kB / 1.606 GB, free: 7.879 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/1.245, allocations: 130.8 kB / 1.606 GB, free: 7.742 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/1.248, allocations: 430.7 kB / 1.606 GB, free: 7.32 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/1.25, allocations: 1.047 MB / 1.607 GB, free: 6.23 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/1.25, allocations: 58 kB / 1.607 GB, free: 6.176 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/1.25, allocations: 84 kB / 1.607 GB, free: 6.094 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/1.252, allocations: 0.8624 MB / 1.608 GB, free: 5.227 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.252, allocations: 0 / 1.608 GB, free: 5.227 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.601e-05/1.252, allocations: 36 kB / 1.608 GB, free: 5.191 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/1.252, allocations: 29.98 kB / 1.608 GB, free: 5.16 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/1.253, allocations: 0.8042 MB / 1.609 GB, free: 4.355 MB / 1.279 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.005057/1.258, allocations: 3.731 MB / 1.613 GB, free: 316 kB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/1.26, allocations: 1.074 MB / 1.614 GB, free: 15.12 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/1.261, allocations: 355.4 kB / 1.614 GB, free: 14.77 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007009/1.261, allocations: 400.8 kB / 1.615 GB, free: 14.31 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/1.261, allocations: 47.11 kB / 1.615 GB, free: 14.25 MB / 1.295 GB Notification: Performance of pre-optimization done (n=60): time 2.295e-06/1.261, allocations: 0 / 1.615 GB, free: 14.25 MB / 1.295 GB Notification: Performance of matching and sorting (n=60): time 0.00217/1.264, allocations: 0.9629 MB / 1.615 GB, free: 13.29 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/1.264, allocations: 55.97 kB / 1.616 GB, free: 13.22 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/1.265, allocations: 0.8406 MB / 1.616 GB, free: 12.36 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/1.265, allocations: 41.7 kB / 1.616 GB, free: 12.31 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/1.265, allocations: 488.8 kB / 1.617 GB, free: 11.82 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/1.265, allocations: 230 kB / 1.617 GB, free: 11.6 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/1.266, allocations: 110.2 kB / 1.617 GB, free: 11.48 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.266, allocations: 334 kB / 1.618 GB, free: 11.15 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/1.266, allocations: 258.9 kB / 1.618 GB, free: 10.9 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/1.267, allocations: 371.4 kB / 1.618 GB, free: 10.5 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/1.268, allocations: 0.5891 MB / 1.619 GB, free: 9.898 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.268, allocations: 3.938 kB / 1.619 GB, free: 9.895 MB / 1.295 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001372/1.269, allocations: 0.7403 MB / 1.619 GB, free: 9.145 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/1.269, allocations: 5.562 kB / 1.619 GB, free: 9.141 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.269, allocations: 4 kB / 1.619 GB, free: 9.137 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.269, allocations: 8.125 kB / 1.619 GB, free: 9.129 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/1.27, allocations: 127.8 kB / 1.62 GB, free: 9.004 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/1.27, allocations: 4 kB / 1.62 GB, free: 9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007223/1.271, allocations: 71.58 kB / 1.62 GB, free: 8.93 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/1.271, allocations: 20 kB / 1.62 GB, free: 8.91 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008086/1.272, allocations: 0.4893 MB / 1.62 GB, free: 8.418 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005843/1.272, allocations: 359.5 kB / 1.62 GB, free: 8.035 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00105/1.273, allocations: 0.5813 MB / 1.621 GB, free: 7.438 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/1.273, allocations: 3.984 kB / 1.621 GB, free: 7.434 MB / 1.295 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001352/1.275, allocations: 0.7364 MB / 1.622 GB, free: 6.691 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/1.275, allocations: 4 kB / 1.622 GB, free: 6.688 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.275, allocations: 4 kB / 1.622 GB, free: 6.684 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/1.275, allocations: 4 kB / 1.622 GB, free: 6.68 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/1.275, allocations: 123.8 kB / 1.622 GB, free: 6.559 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.275, allocations: 4 kB / 1.622 GB, free: 6.555 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007016/1.276, allocations: 67.81 kB / 1.622 GB, free: 6.488 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/1.276, allocations: 20 kB / 1.622 GB, free: 6.469 MB / 1.295 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.0001983/1.276, allocations: 221.8 kB / 1.622 GB, free: 6.246 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/1.276, allocations: 103.3 kB / 1.622 GB, free: 6.145 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/1.278, allocations: 0.7432 MB / 1.623 GB, free: 5.395 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.278, allocations: 11.94 kB / 1.623 GB, free: 5.383 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.278, allocations: 0 / 1.623 GB, free: 5.383 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001275/1.279, allocations: 0.9034 MB / 1.624 GB, free: 4.395 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/1.283, allocations: 2.24 MB / 1.626 GB, free: 2.008 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.283, allocations: 4 kB / 1.626 GB, free: 2.004 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/1.283, allocations: 144.1 kB / 1.626 GB, free: 1.863 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.283, allocations: 4 kB / 1.626 GB, free: 1.859 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/1.283, allocations: 16 kB / 1.626 GB, free: 1.844 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/1.283, allocations: 11.98 kB / 1.626 GB, free: 1.832 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.148e-06/1.283, allocations: 7.938 kB / 1.626 GB, free: 1.824 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/1.285, allocations: 1.235 MB / 1.627 GB, free: 0.5352 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/1.286, allocations: 260.3 kB / 1.628 GB, free: 268 kB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/1.286, allocations: 24.12 kB / 1.628 GB, free: 244 kB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/1.286, allocations: 43.95 kB / 1.628 GB, free: 200 kB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.287, allocations: 52.23 kB / 1.628 GB, free: 148 kB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/1.287, allocations: 24.19 kB / 1.628 GB, free: 124 kB / 1.295 GB Notification: Performance of sorting global known variables: time 0.000825/1.287, allocations: 0.5943 MB / 1.628 GB, free: 15.52 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.2e-07/1.287, allocations: 7.938 kB / 1.628 GB, free: 15.51 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001251/1.289, allocations: 0.5302 MB / 1.629 GB, free: 14.98 MB / 1.311 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.002613/1.291, allocations: 1.903 MB / 1.631 GB, free: 13.01 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.00186/1.293, allocations: 0.8997 MB / 1.632 GB, free: 12.11 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.293, allocations: 0 / 1.632 GB, free: 12.11 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0006276/1.294, allocations: 327.3 kB / 1.632 GB, free: 11.79 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/1.297, allocations: 0.5882 MB / 1.633 GB, free: 11.2 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/1.308, allocations: 7.659 MB / 1.64 GB, free: 3.316 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000822/1.309, allocations: 1.128 MB / 1.641 GB, free: 2.156 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001022/1.31, allocations: 296.1 kB / 1.641 GB, free: 1.863 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006107/1.311, allocations: 415.3 kB / 1.642 GB, free: 1.461 MB / 1.311 GB Notification: Performance of SimCode: time 1.132e-06/1.311, allocations: 0 / 1.642 GB, free: 1.461 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05867/1.369, allocations: 29.59 MB / 1.671 GB, free: 4.289 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/11.45, allocations: 14.02 kB / 1.671 GB, free: 4.277 MB / 1.342 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.96419558400521] Failed to read output from testmodel.py, exit status != 0: 11.591650974994991 11.610728268 10.365645591 Calling exit ...