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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.36/2.36, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 191.4 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 116.5 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 51.78 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3184, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8458/1.164, allocations: 237.7 MB / 1.45 GB, free: 19.82 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01375/1.178, allocations: 7.293 MB / 1.457 GB, free: 19.68 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/1.181, allocations: 45.53 kB / 1.457 GB, free: 19.68 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002389/1.183, allocations: 0.5885 MB / 1.458 GB, free: 19.67 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.006363/1.19, allocations: 1.956 MB / 1.46 GB, free: 19.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.008777/1.198, allocations: 1.859 MB / 1.462 GB, free: 19.51 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.007906/1.206, allocations: 4.451 MB / 1.466 GB, free: 19.5 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002868/1.209, allocations: 0.9408 MB / 1.467 GB, free: 19.38 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005518/1.215, allocations: 1.615 MB / 1.469 GB, free: 19.35 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003301/1.218, allocations: 0.9868 MB / 1.47 GB, free: 19.35 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0005792/1.219, allocations: 60.97 kB / 1.47 GB, free: 19.35 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007048/1.226, allocations: 2.839 MB / 1.472 GB, free: 19.32 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/1.227, allocations: 410.8 kB / 1.473 GB, free: 19.32 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002756/1.23, allocations: 0.6504 MB / 1.473 GB, free: 19.3 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.008669/1.239, allocations: 2.774 MB / 1.476 GB, free: 19 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/1.239, allocations: 0 / 1.476 GB, free: 19 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.643e-06/1.239, allocations: 2.281 kB / 1.476 GB, free: 19 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001021/1.239, allocations: 4 kB / 1.476 GB, free: 19 MB / 0.9167 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.006323/1.245, allocations: 1.715 MB / 1.478 GB, free: 18.08 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/1.245, allocations: 12.45 kB / 1.478 GB, free: 18.07 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/1.248, allocations: 416.5 kB / 1.478 GB, free: 18 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/1.251, allocations: 0.9669 MB / 1.479 GB, free: 17.65 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-05/1.251, allocations: 62.88 kB / 1.479 GB, free: 17.64 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/1.251, allocations: 89.78 kB / 1.479 GB, free: 17.64 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/1.254, allocations: 0.864 MB / 1.48 GB, free: 17.58 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/1.254, allocations: 2.781 kB / 1.48 GB, free: 17.58 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/1.254, allocations: 31.97 kB / 1.48 GB, free: 17.58 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/1.254, allocations: 29 kB / 1.48 GB, free: 17.58 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/1.256, allocations: 0.8056 MB / 1.481 GB, free: 17.57 MB / 0.9167 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.006008/1.262, allocations: 3.634 MB / 1.484 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/1.263, allocations: 1.105 MB / 1.486 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/1.264, allocations: 368.8 kB / 1.486 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006643/1.264, allocations: 407.2 kB / 1.486 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/1.264, allocations: 44.88 kB / 1.486 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=60): time 3.066e-06/1.265, allocations: 4 kB / 1.486 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=60): time 0.002506/1.267, allocations: 0.947 MB / 1.487 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/1.267, allocations: 66.31 kB / 1.487 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.268, allocations: 0.8358 MB / 1.488 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.036e-05/1.268, allocations: 38.8 kB / 1.488 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/1.269, allocations: 478.9 kB / 1.489 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/1.269, allocations: 217.3 kB / 1.489 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/1.269, allocations: 108.9 kB / 1.489 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/1.269, allocations: 327.1 kB / 1.489 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/1.27, allocations: 260.3 kB / 1.49 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/1.27, allocations: 367.2 kB / 1.49 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009594/1.271, allocations: 0.5881 MB / 1.49 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.271, allocations: 4 kB / 1.49 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001467/1.273, allocations: 0.7301 MB / 1.491 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.273, allocations: 5.438 kB / 1.491 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.273, allocations: 2.078 kB / 1.491 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.273, allocations: 4.375 kB / 1.491 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/1.273, allocations: 136.2 kB / 1.491 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/1.274, allocations: 4.953 kB / 1.491 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/1.275, allocations: 131.3 kB / 1.491 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/1.275, allocations: 22.25 kB / 1.491 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008325/1.276, allocations: 498.5 kB / 1.492 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005323/1.276, allocations: 365.2 kB / 1.492 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009068/1.277, allocations: 0.5747 MB / 1.493 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/1.277, allocations: 3.938 kB / 1.493 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001293/1.278, allocations: 0.7282 MB / 1.494 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/1.278, allocations: 2.531 kB / 1.494 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.278, allocations: 6.625 kB / 1.494 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-06/1.278, allocations: 8 kB / 1.494 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/1.279, allocations: 121.2 kB / 1.494 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.279, allocations: 5.359 kB / 1.494 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/1.28, allocations: 122.1 kB / 1.494 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/1.28, allocations: 21.61 kB / 1.494 GB, free: 13.24 MB / 0.9167 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.0002079/1.28, allocations: 217.1 kB / 1.494 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/1.28, allocations: 102.3 kB / 1.494 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/1.282, allocations: 0.7401 MB / 1.495 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.282, allocations: 7.219 kB / 1.495 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.282, allocations: 0.7969 kB / 1.495 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/1.283, allocations: 0.9066 MB / 1.496 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/1.286, allocations: 2.26 MB / 1.498 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.286, allocations: 6.188 kB / 1.498 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/1.287, allocations: 134.4 kB / 1.498 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/1.287, allocations: 6.438 kB / 1.498 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/1.287, allocations: 17.56 kB / 1.498 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/1.287, allocations: 6.062 kB / 1.498 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.287, allocations: 4.844 kB / 1.498 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02249/1.309, allocations: 8.175 MB / 1.506 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006435/1.31, allocations: 266.9 kB / 1.506 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/1.31, allocations: 19.5 kB / 1.506 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009042/1.311, allocations: 95.69 kB / 1.506 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.311, allocations: 51.72 kB / 1.507 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/1.311, allocations: 22.73 kB / 1.507 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001166/1.312, allocations: 0.5848 MB / 1.507 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/1.312, allocations: 0.5312 kB / 1.507 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004019/1.316, allocations: 0.9 MB / 1.508 GB, free: 8.902 MB / 0.9167 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.0005931/1.317, allocations: 253.9 kB / 1.508 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001809/1.319, allocations: 0.9398 MB / 1.509 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.319, allocations: 0 / 1.509 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006085/1.32, allocations: 346.8 kB / 1.509 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/1.323, allocations: 0.6157 MB / 1.51 GB, free: 8.234 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/1.328, allocations: 2.951 MB / 1.513 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/1.328, allocations: 1.139 MB / 1.514 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00145/1.33, allocations: 317.9 kB / 1.514 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/1.33, allocations: 89.45 kB / 1.514 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of SimCode: time 7.91e-07/1.33, allocations: 0 / 1.514 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of Templates: time 0.03948/1.37, allocations: 23.53 MB / 1.537 GB, free: 5.664 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (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 & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)