Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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) 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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 195.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 66.39 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3764, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8669/1.243, allocations: 237 MB / 1.299 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01108/1.255, allocations: 7.174 MB / 1.306 GB, free: 17.03 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/1.257, allocations: 47.94 kB / 1.306 GB, free: 17.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001892/1.259, allocations: 0.613 MB / 1.307 GB, free: 17.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005433/1.264, allocations: 1.944 MB / 1.309 GB, free: 16.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005082/1.269, allocations: 1.883 MB / 1.31 GB, free: 16.88 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004081/1.273, allocations: 3.279 MB / 1.314 GB, free: 16.88 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/1.275, allocations: 1.101 MB / 1.315 GB, free: 16.78 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004066/1.279, allocations: 1.787 MB / 1.317 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/1.281, allocations: 1.017 MB / 1.318 GB, free: 16.55 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002206/1.281, allocations: 122 kB / 1.318 GB, free: 16.55 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005422/1.286, allocations: 2.587 MB / 1.32 GB, free: 16.53 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006671/1.287, allocations: 468.4 kB / 1.321 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/1.288, allocations: 0.722 MB / 1.321 GB, free: 16.28 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005569/1.294, allocations: 2.814 MB / 1.324 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/1.294, allocations: 2.031 kB / 1.324 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/1.294, allocations: 0 / 1.324 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.827e-05/1.294, allocations: 0.7812 kB / 1.324 GB, free: 15.98 MB / 0.9981 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.00358/1.298, allocations: 1.718 MB / 1.326 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.298, allocations: 9.438 kB / 1.326 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/1.3, allocations: 425.1 kB / 1.326 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/1.302, allocations: 0.9586 MB / 1.327 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.459e-05/1.302, allocations: 60.81 kB / 1.327 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/1.302, allocations: 83.25 kB / 1.327 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/1.304, allocations: 0.8657 MB / 1.328 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/1.304, allocations: 2.562 kB / 1.328 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.184e-05/1.304, allocations: 34.84 kB / 1.328 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/1.304, allocations: 31.69 kB / 1.328 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/1.305, allocations: 0.8132 MB / 1.329 GB, free: 14.57 MB / 0.9981 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.003897/1.309, allocations: 3.631 MB / 1.332 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/1.311, allocations: 1.1 MB / 1.334 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/1.311, allocations: 374.8 kB / 1.334 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006081/1.312, allocations: 410.7 kB / 1.334 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/1.312, allocations: 38.84 kB / 1.334 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 2.285e-06/1.312, allocations: 0 / 1.334 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.001903/1.314, allocations: 0.9585 MB / 1.335 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/1.314, allocations: 57.03 kB / 1.335 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008999/1.315, allocations: 0.8391 MB / 1.336 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/1.315, allocations: 44.53 kB / 1.336 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/1.315, allocations: 482.6 kB / 1.337 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/1.315, allocations: 210.4 kB / 1.337 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/1.315, allocations: 111.8 kB / 1.337 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.055e-05/1.315, allocations: 332.1 kB / 1.337 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/1.316, allocations: 255.5 kB / 1.338 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/1.316, allocations: 365.8 kB / 1.338 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009651/1.317, allocations: 0.5915 MB / 1.338 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.317, allocations: 0 / 1.338 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001216/1.319, allocations: 0.7388 MB / 1.339 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.319, allocations: 3.875 kB / 1.339 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.319, allocations: 2.562 kB / 1.339 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.319, allocations: 5.156 kB / 1.339 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/1.319, allocations: 125.5 kB / 1.339 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/1.319, allocations: 7 kB / 1.339 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/1.32, allocations: 133.6 kB / 1.339 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/1.32, allocations: 21.08 kB / 1.339 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007597/1.321, allocations: 0.4957 MB / 1.34 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00049/1.322, allocations: 360.4 kB / 1.34 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008558/1.322, allocations: 0.5823 MB / 1.341 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/1.322, allocations: 0 / 1.341 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001096/1.324, allocations: 0.7174 MB / 1.342 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/1.324, allocations: 5.594 kB / 1.342 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/1.324, allocations: 2.531 kB / 1.342 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-06/1.324, allocations: 4.469 kB / 1.342 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/1.324, allocations: 127 kB / 1.342 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/1.324, allocations: 8.547 kB / 1.342 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/1.325, allocations: 122.6 kB / 1.342 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/1.325, allocations: 24.44 kB / 1.342 GB, free: 8.789 MB / 0.9981 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.0001828/1.325, allocations: 216.1 kB / 1.342 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/1.326, allocations: 101.9 kB / 1.342 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/1.327, allocations: 0.7361 MB / 1.343 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.327, allocations: 12.09 kB / 1.343 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.327, allocations: 7.938 kB / 1.343 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000958/1.328, allocations: 0.9012 MB / 1.344 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/1.331, allocations: 2.244 MB / 1.346 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.331, allocations: 4.344 kB / 1.346 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006216/1.332, allocations: 136.7 kB / 1.346 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/1.332, allocations: 5.125 kB / 1.346 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/1.332, allocations: 20.16 kB / 1.346 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-06/1.332, allocations: 13.23 kB / 1.346 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.332, allocations: 7.344 kB / 1.346 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/1.333, allocations: 1.222 MB / 1.347 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/1.334, allocations: 261.4 kB / 1.348 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/1.334, allocations: 16.88 kB / 1.348 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008002/1.335, allocations: 96.39 kB / 1.348 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.335, allocations: 51.98 kB / 1.348 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/1.335, allocations: 26.05 kB / 1.348 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000657/1.336, allocations: 0.5861 MB / 1.348 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.336, allocations: 2.531 kB / 1.348 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001304/1.337, allocations: 0.5343 MB / 1.349 GB, free: 5.094 MB / 0.9981 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.0005728/1.338, allocations: 245.9 kB / 1.349 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00192/1.339, allocations: 1.005 MB / 1.35 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.339, allocations: 7.781 kB / 1.35 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006104/1.34, allocations: 341.5 kB / 1.35 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/1.343, allocations: 0.5986 MB / 1.351 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/1.346, allocations: 2.544 MB / 1.353 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/1.347, allocations: 1.123 MB / 1.355 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001029/1.348, allocations: 302.4 kB / 1.355 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/1.348, allocations: 81.89 kB / 1.355 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of SimCode: time 6.32e-07/1.348, allocations: 0 / 1.355 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of Templates: time 0.03378/1.382, allocations: 20.15 MB / 1.375 GB, free: 9.973 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)