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.001914/0.001914, allocations: 109.9 kB / 16.41 MB, free: 6.5 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.002089/0.002089, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.407/1.407, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.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.75/2.75, allocations: 469.8 MB / 0.7491 GB, free: 3.012 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.001956/0.001956, allocations: 67.89 kB / 1.073 GB, free: 140 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7748/0.7768, allocations: 159.1 MB / 1.229 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2586/1.035, allocations: 239.9 MB / 1.463 GB, free: 4.059 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01178/1.047, allocations: 7.2 MB / 1.47 GB, free: 12.85 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/1.049, allocations: 51.69 kB / 1.47 GB, free: 12.8 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/1.051, allocations: 0.7027 MB / 1.471 GB, free: 12.09 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005252/1.056, allocations: 2.07 MB / 1.473 GB, free: 10.01 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004679/1.061, allocations: 2.039 MB / 1.475 GB, free: 7.98 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004582/1.065, allocations: 3.274 MB / 1.478 GB, free: 4.695 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/1.067, allocations: 1.133 MB / 1.479 GB, free: 3.539 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/1.071, allocations: 1.79 MB / 1.481 GB, free: 1.742 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/1.073, allocations: 0.961 MB / 1.482 GB, free: 0.7773 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002242/1.073, allocations: 120 kB / 1.482 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004816/1.078, allocations: 2.486 MB / 1.484 GB, free: 14.17 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005648/1.079, allocations: 470.7 kB / 1.485 GB, free: 13.71 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009533/1.08, allocations: 0.7155 MB / 1.485 GB, free: 12.99 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004923/1.085, allocations: 2.683 MB / 1.488 GB, free: 10.3 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/1.085, allocations: 8 kB / 1.488 GB, free: 10.29 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.803e-06/1.085, allocations: 0 / 1.488 GB, free: 10.29 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.838e-05/1.085, allocations: 0 / 1.488 GB, free: 10.29 MB / 1.201 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.002933/1.088, allocations: 1.757 MB / 1.49 GB, free: 8.473 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.088, allocations: 8.031 kB / 1.49 GB, free: 8.465 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/1.088, allocations: 130.8 kB / 1.49 GB, free: 8.328 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/1.09, allocations: 434.7 kB / 1.49 GB, free: 7.902 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/1.092, allocations: 1.027 MB / 1.491 GB, free: 6.832 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.754e-05/1.092, allocations: 66 kB / 1.491 GB, free: 6.77 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.092, allocations: 83.95 kB / 1.491 GB, free: 6.688 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/1.094, allocations: 0.8663 MB / 1.492 GB, free: 5.816 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/1.094, allocations: 0 / 1.492 GB, free: 5.816 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.019e-05/1.094, allocations: 36 kB / 1.492 GB, free: 5.781 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/1.094, allocations: 29.98 kB / 1.492 GB, free: 5.75 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/1.095, allocations: 0.8042 MB / 1.493 GB, free: 4.945 MB / 1.201 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.004833/1.1, allocations: 3.648 MB / 1.497 GB, free: 1.004 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/1.102, allocations: 1.099 MB / 1.498 GB, free: 15.79 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/1.103, allocations: 371.5 kB / 1.498 GB, free: 15.43 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007146/1.103, allocations: 408.9 kB / 1.498 GB, free: 14.96 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.103, allocations: 39.12 kB / 1.499 GB, free: 14.91 MB / 1.217 GB Notification: Performance of pre-optimization done (n=60): time 2.445e-06/1.103, allocations: 0 / 1.499 GB, free: 14.91 MB / 1.217 GB Notification: Performance of matching and sorting (n=60): time 0.002176/1.105, allocations: 0.9629 MB / 1.499 GB, free: 13.94 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/1.106, allocations: 63.91 kB / 1.5 GB, free: 13.87 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/1.107, allocations: 0.84 MB / 1.5 GB, free: 13 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/1.107, allocations: 37.7 kB / 1.5 GB, free: 12.96 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/1.107, allocations: 488.7 kB / 1.501 GB, free: 12.48 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/1.107, allocations: 226.1 kB / 1.501 GB, free: 12.25 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/1.108, allocations: 106.2 kB / 1.501 GB, free: 12.14 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.108, allocations: 330 kB / 1.501 GB, free: 11.82 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/1.108, allocations: 259 kB / 1.502 GB, free: 11.56 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/1.109, allocations: 371.4 kB / 1.502 GB, free: 11.16 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/1.11, allocations: 0.5891 MB / 1.503 GB, free: 10.56 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.11, allocations: 0 / 1.503 GB, free: 10.56 MB / 1.217 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001399/1.111, allocations: 0.7403 MB / 1.503 GB, free: 9.812 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.111, allocations: 8.125 kB / 1.503 GB, free: 9.805 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/1.111, allocations: 4 kB / 1.503 GB, free: 9.801 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.111, allocations: 4 kB / 1.503 GB, free: 9.797 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/1.112, allocations: 127.8 kB / 1.504 GB, free: 9.672 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.112, allocations: 0 / 1.504 GB, free: 9.672 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007144/1.113, allocations: 75.58 kB / 1.504 GB, free: 9.598 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/1.113, allocations: 20 kB / 1.504 GB, free: 9.578 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000835/1.114, allocations: 0.4932 MB / 1.504 GB, free: 9.082 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005896/1.114, allocations: 363.4 kB / 1.504 GB, free: 8.695 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001044/1.115, allocations: 0.5774 MB / 1.505 GB, free: 8.102 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/1.115, allocations: 0 / 1.505 GB, free: 8.102 MB / 1.217 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001334/1.117, allocations: 0.7325 MB / 1.506 GB, free: 7.363 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.117, allocations: 8 kB / 1.506 GB, free: 7.355 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/1.117, allocations: 0 / 1.506 GB, free: 7.355 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.122e-06/1.117, allocations: 4 kB / 1.506 GB, free: 7.352 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/1.117, allocations: 123.9 kB / 1.506 GB, free: 7.23 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/1.117, allocations: 8 kB / 1.506 GB, free: 7.223 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/1.118, allocations: 71.62 kB / 1.506 GB, free: 7.152 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/1.118, allocations: 20 kB / 1.506 GB, free: 7.133 MB / 1.217 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.0002078/1.118, allocations: 224 kB / 1.506 GB, free: 6.906 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/1.118, allocations: 107.3 kB / 1.506 GB, free: 6.801 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/1.12, allocations: 0.7432 MB / 1.507 GB, free: 6.051 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/1.12, allocations: 4 kB / 1.507 GB, free: 6.047 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.12, allocations: 0 / 1.507 GB, free: 6.047 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/1.121, allocations: 0.9073 MB / 1.508 GB, free: 5.055 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/1.125, allocations: 2.251 MB / 1.51 GB, free: 2.664 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.125, allocations: 4.406 kB / 1.51 GB, free: 2.66 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/1.125, allocations: 139.8 kB / 1.51 GB, free: 2.523 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/1.125, allocations: 4 kB / 1.51 GB, free: 2.52 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/1.125, allocations: 19.98 kB / 1.51 GB, free: 2.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/1.125, allocations: 11.94 kB / 1.51 GB, free: 2.488 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.125, allocations: 4 kB / 1.51 GB, free: 2.484 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/1.127, allocations: 1.231 MB / 1.511 GB, free: 1.191 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/1.128, allocations: 264.3 kB / 1.512 GB, free: 0.9141 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/1.128, allocations: 19.98 kB / 1.512 GB, free: 0.8945 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/1.129, allocations: 39.97 kB / 1.512 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.129, allocations: 48.25 kB / 1.512 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/1.129, allocations: 28.17 kB / 1.512 GB, free: 0.7812 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007956/1.129, allocations: 0.5862 MB / 1.512 GB, free: 188 kB / 1.217 GB Notification: Performance of sort global known variables: time 1.8e-07/1.129, allocations: 3.938 kB / 1.512 GB, free: 184 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.001207/1.131, allocations: 0.5342 MB / 1.513 GB, free: 15.64 MB / 1.232 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.002688/1.133, allocations: 1.914 MB / 1.515 GB, free: 13.68 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001849/1.135, allocations: 0.951 MB / 1.516 GB, free: 12.73 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.135, allocations: 0 / 1.516 GB, free: 12.73 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000607/1.136, allocations: 338.2 kB / 1.516 GB, free: 12.4 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/1.139, allocations: 0.6081 MB / 1.517 GB, free: 11.8 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.15, allocations: 7.635 MB / 1.524 GB, free: 3.934 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007931/1.151, allocations: 1.12 MB / 1.525 GB, free: 2.785 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001106/1.152, allocations: 304.1 kB / 1.525 GB, free: 2.484 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005764/1.152, allocations: 415.3 kB / 1.526 GB, free: 2.078 MB / 1.232 GB Notification: Performance of SimCode: time 9.12e-07/1.152, allocations: 0 / 1.526 GB, free: 2.078 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06289/1.215, allocations: 29.37 MB / 1.555 GB, free: 5.16 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.642/10.86, allocations: 12.2 kB / 1.555 GB, free: 5.152 MB / 1.264 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 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: 16.754662139108405] Failed to read output from testmodel.py, exit status != 0: 10.944801891921088 10.966448118 9.878078755 Calling exit ...