Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001405/0.001405, allocations: 103.8 kB / 16.35 MB, free: 5.875 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.001391/0.001391, allocations: 194.4 kB / 17.3 MB, free: 5.516 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 277 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.949/0.949, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 93.72 kB / 0.5966 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.168, allocations: 86.98 MB / 0.6816 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.5103/0.6784, allocations: 239.9 MB / 0.9158 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.6892, allocations: 7.208 MB / 0.9229 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.6903, allocations: 63.56 kB / 0.9229 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.6919, allocations: 0.6949 MB / 0.9236 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004177/0.6961, allocations: 2.068 MB / 0.9256 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00412/0.7002, allocations: 2.037 MB / 0.9276 GB, free: 2.254 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003734/0.704, allocations: 3.269 MB / 0.9308 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.7054, allocations: 1.139 MB / 0.9319 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.7086, allocations: 1.794 MB / 0.9337 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.7103, allocations: 0.956 MB / 0.9346 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.7105, allocations: 120 kB / 0.9347 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00431/0.7148, allocations: 2.49 MB / 0.9372 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004234/0.7152, allocations: 466.6 kB / 0.9376 GB, free: 7.988 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007903/0.716, allocations: 0.7194 MB / 0.9383 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00385/0.7199, allocations: 2.688 MB / 0.9409 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7199, allocations: 0 / 0.9409 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7199, allocations: 0 / 0.9409 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.7199, allocations: 4 kB / 0.9409 GB, free: 4.566 MB / 0.7012 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.002731/0.7227, allocations: 1.706 MB / 0.9426 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.7227, allocations: 8.031 kB / 0.9426 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002617/0.7254, allocations: 425.9 kB / 0.943 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.7271, allocations: 1.022 MB / 0.944 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.7272, allocations: 62 kB / 0.9441 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.7273, allocations: 84 kB / 0.9441 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.7288, allocations: 0.8663 MB / 0.945 GB, free: 304 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.7288, allocations: 0 / 0.945 GB, free: 304 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.288e-05/0.7289, allocations: 32 kB / 0.945 GB, free: 272 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.7289, allocations: 29.98 kB / 0.9451 GB, free: 244 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.7303, allocations: 0.8042 MB / 0.9458 GB, free: 15.43 MB / 0.7169 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.004561/0.7349, allocations: 3.643 MB / 0.9494 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.7364, allocations: 1.097 MB / 0.9505 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/0.737, allocations: 370.3 kB / 0.9508 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/0.7377, allocations: 412.8 kB / 0.9512 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.7377, allocations: 39.12 kB / 0.9513 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 1.944e-06/0.7377, allocations: 0 / 0.9513 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.001925/0.7396, allocations: 0.9585 MB / 0.9522 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.7397, allocations: 55.97 kB / 0.9522 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/0.7407, allocations: 0.836 MB / 0.9531 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.7407, allocations: 41.7 kB / 0.9531 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.7411, allocations: 480 kB / 0.9536 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.7413, allocations: 220.9 kB / 0.9538 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.7414, allocations: 110.2 kB / 0.9539 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.7415, allocations: 337.9 kB / 0.9542 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/0.742, allocations: 255 kB / 0.9544 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.7426, allocations: 367.5 kB / 0.9548 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00097/0.7435, allocations: 0.5852 MB / 0.9554 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7435, allocations: 0 / 0.9554 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001213/0.7448, allocations: 0.7408 MB / 0.9561 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.7448, allocations: 8.062 kB / 0.9561 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.7448, allocations: 4 kB / 0.9561 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.7448, allocations: 4 kB / 0.9561 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/0.7454, allocations: 131.8 kB / 0.9562 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.7454, allocations: 4 kB / 0.9562 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/0.7461, allocations: 63.48 kB / 0.9563 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.7461, allocations: 25.56 kB / 0.9563 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000742/0.7469, allocations: 497 kB / 0.9568 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005818/0.7475, allocations: 363.4 kB / 0.9571 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009347/0.7484, allocations: 0.5813 MB / 0.9577 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.7484, allocations: 0 / 0.9577 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001169/0.7496, allocations: 0.7243 MB / 0.9584 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.7496, allocations: 10.59 kB / 0.9584 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.7496, allocations: 0.875 kB / 0.9584 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.7496, allocations: 4 kB / 0.9584 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.7502, allocations: 123.9 kB / 0.9585 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.7502, allocations: 8 kB / 0.9585 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/0.7508, allocations: 63.64 kB / 0.9586 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.7509, allocations: 20 kB / 0.9586 GB, free: 1.672 MB / 0.7169 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.0001877/0.7511, allocations: 216.1 kB / 0.9588 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.7512, allocations: 106.7 kB / 0.9589 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.7526, allocations: 0.7471 MB / 0.9597 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.7526, allocations: 4 kB / 0.9597 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7527, allocations: 0 / 0.9597 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2926/1.045, allocations: 0.8982 MB / 0.9605 GB, free: 251.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003661/1.049, allocations: 2.246 MB / 0.9627 GB, free: 250.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.049, allocations: 4.531 kB / 0.9627 GB, free: 250.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/1.05, allocations: 134.5 kB / 0.9629 GB, free: 250.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/1.05, allocations: 9.469 kB / 0.9629 GB, free: 250.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/1.05, allocations: 19.84 kB / 0.9629 GB, free: 250.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/1.05, allocations: 7.219 kB / 0.9629 GB, free: 250.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.05, allocations: 8.656 kB / 0.9629 GB, free: 250.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/1.052, allocations: 1.227 MB / 0.9641 GB, free: 249.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004707/1.052, allocations: 261.1 kB / 0.9644 GB, free: 249.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/1.052, allocations: 20.12 kB / 0.9644 GB, free: 249.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/1.053, allocations: 41.09 kB / 0.9644 GB, free: 249.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/1.053, allocations: 50.16 kB / 0.9645 GB, free: 249.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/1.053, allocations: 23.73 kB / 0.9645 GB, free: 249.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008778/1.054, allocations: 0.5855 MB / 0.9651 GB, free: 249.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.4e-07/1.054, allocations: 0 / 0.9651 GB, free: 249.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001296/1.055, allocations: 0.54 MB / 0.9656 GB, free: 249.5 MB / 0.7169 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.0005188/1.056, allocations: 241 kB / 0.9658 GB, free: 249.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001811/1.058, allocations: 0.9501 MB / 0.9667 GB, free: 249 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.058, allocations: 1.344 kB / 0.9667 GB, free: 249 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005873/1.058, allocations: 341.1 kB / 0.9671 GB, free: 248.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/1.061, allocations: 0.6015 MB / 0.9677 GB, free: 248.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/1.064, allocations: 2.129 MB / 0.9697 GB, free: 247.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007182/1.065, allocations: 1.128 MB / 0.9708 GB, free: 246.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009923/1.066, allocations: 301.7 kB / 0.9711 GB, free: 246.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/1.066, allocations: 80.75 kB / 0.9712 GB, free: 246.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.283e-06/1.066, allocations: 0.8438 kB / 0.9712 GB, free: 246.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.0372/1.103, allocations: 20.36 MB / 0.9911 GB, free: 240.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)