Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.0009515/0.0009515, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002288, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001021/0.001021, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001339/0.00236, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9128/0.9128, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09401/1.007, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001315/0.001315, allocations: 226.8 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.002356, allocations: 479.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6779/0.6779, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06909/0.747, allocations: 42.4 MB / 426.7 MB, free: 5.832 MB / 410.7 MB " [Timeout remaining time 179] 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.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: translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 428.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.389e-05, allocations: 6.25 kB / 428.1 MB, free: 4.48 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3212/0.3212, allocations: 153.3 MB / 0.5677 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.008548/0.3298, allocations: 4.938 MB / 0.5726 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.3314, allocations: 63.38 kB / 0.5726 GB, free: 2.137 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.3324, allocations: 432.8 kB / 0.573 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.3351, allocations: 1.267 MB / 0.5743 GB, free: 448 kB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.3381, allocations: 1.467 MB / 0.5757 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003512/0.3417, allocations: 2.935 MB / 0.5786 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.3434, allocations: 0.8241 MB / 0.5794 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.3461, allocations: 1.617 MB / 0.581 GB, free: 9.715 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.3472, allocations: 0.6542 MB / 0.5816 GB, free: 9.059 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.3474, allocations: 96 kB / 0.5817 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.3491, allocations: 0.7484 MB / 0.5824 GB, free: 8.215 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000329/0.3494, allocations: 327 kB / 0.5827 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000396/0.3498, allocations: 319.3 kB / 0.583 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.3514, allocations: 1.219 MB / 0.5842 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.3514, allocations: 0 / 0.5842 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3514, allocations: 3.938 kB / 0.5842 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.306e-05/0.3515, allocations: 0 / 0.5842 GB, free: 6.355 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002411/0.3539, allocations: 1.772 MB / 0.586 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3539, allocations: 16.75 kB / 0.586 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.3554, allocations: 483.9 kB / 0.5864 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.3564, allocations: 0.7005 MB / 0.5871 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/0.3565, allocations: 57.67 kB / 0.5872 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.3566, allocations: 75.88 kB / 0.5873 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.3576, allocations: 0.7885 MB / 0.588 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.3577, allocations: 11.94 kB / 0.588 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.126e-05/0.3577, allocations: 24 kB / 0.5881 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.3578, allocations: 33.3 kB / 0.5881 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005542/0.3583, allocations: 322.2 kB / 0.5884 GB, free: 1.945 MB / 0.5573 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.002904/0.3612, allocations: 1.94 MB / 0.5903 GB, free: 15.97 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006619/0.3619, allocations: 345.2 kB / 0.5906 GB, free: 15.62 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.3621, allocations: 150.8 kB / 0.5908 GB, free: 15.46 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.3622, allocations: 40.47 kB / 0.5908 GB, free: 15.42 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004094/0.3626, allocations: 426 kB / 0.5912 GB, free: 14.95 MB / 0.573 GB Notification: Performance of pre-optimization done (n=57): time 1.843e-06/0.3626, allocations: 0 / 0.5912 GB, free: 14.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=57): time 0.0008561/0.3635, allocations: 0.4896 MB / 0.5917 GB, free: 14.44 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.3636, allocations: 230 kB / 0.5919 GB, free: 14.16 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008156/0.3644, allocations: 0.6949 MB / 0.5926 GB, free: 13.46 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/0.3644, allocations: 41.7 kB / 0.5926 GB, free: 13.41 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.3646, allocations: 338.5 kB / 0.5929 GB, free: 13.07 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.3648, allocations: 198.2 kB / 0.5931 GB, free: 12.88 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.365, allocations: 134.1 kB / 0.5933 GB, free: 12.74 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.365, allocations: 333.9 kB / 0.5936 GB, free: 12.41 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.3652, allocations: 105.8 kB / 0.5937 GB, free: 12.3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.3656, allocations: 0.5323 MB / 0.5942 GB, free: 11.64 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.366, allocations: 394.5 kB / 0.5946 GB, free: 11.21 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.366, allocations: 0 / 0.5946 GB, free: 11.21 MB / 0.573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005735/0.3666, allocations: 426.4 kB / 0.595 GB, free: 10.77 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.3666, allocations: 41.69 kB / 0.595 GB, free: 10.72 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3666, allocations: 0 / 0.595 GB, free: 10.72 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3666, allocations: 8 kB / 0.595 GB, free: 10.71 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.3671, allocations: 179.7 kB / 0.5952 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3671, allocations: 8.484 kB / 0.5952 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.3676, allocations: 143.6 kB / 0.5953 GB, free: 10.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.3676, allocations: 27.97 kB / 0.5954 GB, free: 10.36 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0001897/0.3678, allocations: 190.2 kB / 0.5956 GB, free: 10.16 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/0.3679, allocations: 75.92 kB / 0.5956 GB, free: 10.08 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005575/0.3684, allocations: 465.5 kB / 0.5961 GB, free: 9.613 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3685, allocations: 4 kB / 0.5961 GB, free: 9.609 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3685, allocations: 9.109 kB / 0.5961 GB, free: 9.602 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3685, allocations: 11.86 kB / 0.5961 GB, free: 9.59 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.3701, allocations: 1.651 MB / 0.5977 GB, free: 7.773 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.3701, allocations: 9.5 kB / 0.5977 GB, free: 7.766 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.3704, allocations: 127.8 kB / 0.5978 GB, free: 7.641 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.3706, allocations: 159.2 kB / 0.598 GB, free: 7.484 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.3706, allocations: 12 kB / 0.598 GB, free: 7.473 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.3707, allocations: 27.92 kB / 0.598 GB, free: 7.445 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.3707, allocations: 22.58 kB / 0.5981 GB, free: 7.426 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.3707, allocations: 11.94 kB / 0.5981 GB, free: 7.414 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.3715, allocations: 0.9185 MB / 0.599 GB, free: 6.352 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.946e-05/0.3716, allocations: 24 kB / 0.599 GB, free: 6.328 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.3719, allocations: 56.52 kB / 0.599 GB, free: 6.273 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.372, allocations: 63.73 kB / 0.5991 GB, free: 6.211 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.372, allocations: 44.59 kB / 0.5991 GB, free: 6.168 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002325/0.3723, allocations: 324.5 kB / 0.5994 GB, free: 5.855 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3723, allocations: 0 / 0.5994 GB, free: 5.855 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006094/0.3729, allocations: 303.4 kB / 0.5997 GB, free: 5.559 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0003235/0.3732, allocations: 201.9 kB / 0.5999 GB, free: 5.355 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.3737, allocations: 446.5 kB / 0.6004 GB, free: 4.895 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.822e-05/0.3737, allocations: 15.98 kB / 0.6004 GB, free: 4.879 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003553/0.3741, allocations: 383.6 kB / 0.6007 GB, free: 4.488 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.3757, allocations: 1.858 MB / 0.6026 GB, free: 2.367 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/0.3817, allocations: 1.858 MB / 0.6044 GB, free: 372 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.3819, allocations: 212.2 kB / 0.6046 GB, free: 140 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004444/0.3823, allocations: 157.4 kB / 0.6047 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000633/0.3829, allocations: 330.9 kB / 0.605 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/0.3829, allocations: 0 / 0.605 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of Templates: time 0.02052/0.4034, allocations: 18.78 MB / 0.6234 GB, free: 13.37 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.879655505530536]