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.001887/0.001887, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.00211/0.00211, allocations: 177.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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 1.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003391/0.003391, allocations: 245.2 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.319/1.319, allocations: 138.4 MB / 454.7 MB, free: 1.508 MB / 362.7 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.282e-06/1.282e-06, allocations: 0 / 0.5543 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.641e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5102/0.5103, allocations: 191 MB / 0.7409 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.5242, allocations: 7.07 MB / 0.7478 GB, free: 7.504 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.5259, allocations: 63.38 kB / 0.7479 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.5281, allocations: 0.6984 MB / 0.7485 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.007197/0.5352, allocations: 2.472 MB / 0.751 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004203/0.5395, allocations: 1.52 MB / 0.7524 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005519/0.545, allocations: 3.016 MB / 0.7554 GB, free: 15.72 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.5466, allocations: 0.7342 MB / 0.7561 GB, free: 14.98 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.5503, allocations: 1.515 MB / 0.7576 GB, free: 13.48 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.552, allocations: 0.7404 MB / 0.7583 GB, free: 12.76 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002117/0.5522, allocations: 100 kB / 0.7584 GB, free: 12.66 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004082/0.5563, allocations: 1.718 MB / 0.7601 GB, free: 10.94 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005785/0.5569, allocations: 398.7 kB / 0.7605 GB, free: 10.55 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009672/0.5578, allocations: 399 kB / 0.7608 GB, free: 10.16 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00496/0.5628, allocations: 2.45 MB / 0.7632 GB, free: 7.699 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.5628, allocations: 4 kB / 0.7632 GB, free: 7.695 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5628, allocations: 0 / 0.7632 GB, free: 7.695 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.125e-05/0.5628, allocations: 3.938 kB / 0.7632 GB, free: 7.691 MB / 0.573 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.003986/0.5668, allocations: 1.775 MB / 0.765 GB, free: 5.871 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.5668, allocations: 8.75 kB / 0.765 GB, free: 5.863 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/0.5696, allocations: 0.5141 MB / 0.7655 GB, free: 5.348 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.5721, allocations: 1.006 MB / 0.7665 GB, free: 4.312 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.996e-05/0.5722, allocations: 53.31 kB / 0.7665 GB, free: 4.262 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.5724, allocations: 75.98 kB / 0.7666 GB, free: 4.188 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.5748, allocations: 1.074 MB / 0.7676 GB, free: 3.047 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.5748, allocations: 3.938 kB / 0.7676 GB, free: 3.043 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/0.5749, allocations: 28 kB / 0.7677 GB, free: 3.016 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/0.575, allocations: 33.31 kB / 0.7677 GB, free: 2.98 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/0.5775, allocations: 0.8421 MB / 0.7685 GB, free: 2.133 MB / 0.573 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.00686/0.5843, allocations: 3.179 MB / 0.7716 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.5859, allocations: 0.4976 MB / 0.7721 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006474/0.5865, allocations: 282 kB / 0.7724 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/0.5871, allocations: 132.4 kB / 0.7725 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/0.5881, allocations: 0.5678 MB / 0.7731 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=57): time 2.184e-06/0.5881, allocations: 0 / 0.7731 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=57): time 0.002764/0.5909, allocations: 0.91 MB / 0.7739 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.591, allocations: 144.9 kB / 0.7741 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.593, allocations: 1.058 MB / 0.7751 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.694e-05/0.5931, allocations: 37.7 kB / 0.7752 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000591/0.5937, allocations: 0.554 MB / 0.7757 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.594, allocations: 214.3 kB / 0.7759 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/0.5944, allocations: 177.1 kB / 0.7761 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003235/0.5947, allocations: 0.5277 MB / 0.7766 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000942/0.5956, allocations: 298.9 kB / 0.7769 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.5971, allocations: 0.8704 MB / 0.7777 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.5988, allocations: 0.7045 MB / 0.7784 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5988, allocations: 0 / 0.7784 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00267/0.6015, allocations: 0.9101 MB / 0.7793 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.6016, allocations: 45.62 kB / 0.7793 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6016, allocations: 5.062 kB / 0.7793 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.6016, allocations: 4.281 kB / 0.7793 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008488/0.6024, allocations: 159.8 kB / 0.7795 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.6025, allocations: 4 kB / 0.7795 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.6036, allocations: 145.2 kB / 0.7796 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.903e-05/0.6037, allocations: 39.97 kB / 0.7797 GB, free: 6.207 MB / 0.5886 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.0005838/0.6042, allocations: 324.1 kB / 0.78 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.6045, allocations: 111.4 kB / 0.7801 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.6064, allocations: 0.7436 MB / 0.7808 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.6064, allocations: 8 kB / 0.7808 GB, free: 5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6064, allocations: 0 / 0.7808 GB, free: 5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.6065, allocations: 3.984 kB / 0.7808 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005281/0.6117, allocations: 2.588 MB / 0.7834 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.6117, allocations: 8.5 kB / 0.7834 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/0.6123, allocations: 107.8 kB / 0.7835 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/0.6123, allocations: 12 kB / 0.7835 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.764e-05/0.6124, allocations: 30.98 kB / 0.7835 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.133e-05/0.6124, allocations: 19.92 kB / 0.7835 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/0.6124, allocations: 12.12 kB / 0.7835 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.6147, allocations: 1.275 MB / 0.7848 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000596/0.6153, allocations: 231 kB / 0.785 GB, free: 392 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.6155, allocations: 27.92 kB / 0.785 GB, free: 364 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008522/0.6163, allocations: 63.95 kB / 0.7851 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.6164, allocations: 59.8 kB / 0.7852 GB, free: 240 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.933e-05/0.6165, allocations: 39.97 kB / 0.7852 GB, free: 200 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001267/0.6178, allocations: 0.6825 MB / 0.7859 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6178, allocations: 3.938 kB / 0.7859 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001274/0.6191, allocations: 327.4 kB / 0.7862 GB, free: 15.2 MB / 0.6042 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.0007375/0.6198, allocations: 347.6 kB / 0.7865 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.6218, allocations: 0.7799 MB / 0.7873 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6218, allocations: 0 / 0.7873 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008398/0.6227, allocations: 415.5 kB / 0.7877 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.6248, allocations: 417.2 kB / 0.7881 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.6289, allocations: 1.959 MB / 0.79 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.6295, allocations: 469.7 kB / 0.7904 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008933/0.6304, allocations: 214.7 kB / 0.7906 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.6307, allocations: 68.47 kB / 0.7907 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of SimCode: time 1.513e-06/0.6307, allocations: 0 / 0.7907 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.03521/0.6659, allocations: 18.1 MB / 0.8084 GB, free: 8.625 MB / 0.6198 GB " [Timeout remaining time 659] 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: 7.1553649039706215]