Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.00207/0.00207, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002578/0.002578, allocations: 209.9 kB / 22.24 MB, free: 5.262 MB / 14.72 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9079/0.9079, allocations: 134 MB / 446.4 MB, free: 9.934 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 76.52 kB / 0.619 GB, free: 6.371 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2045, allocations: 85.9 MB / 0.7029 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.7111/0.9156, allocations: 171.9 MB / 0.8707 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.9278, allocations: 6.547 MB / 0.8771 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.9293, allocations: 63.38 kB / 0.8772 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.9314, allocations: 0.6909 MB / 0.8778 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006579/0.938, allocations: 2.416 MB / 0.8802 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.9418, allocations: 1.448 MB / 0.8816 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004837/0.9466, allocations: 3.021 MB / 0.8846 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.9482, allocations: 0.7068 MB / 0.8853 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003247/0.9515, allocations: 1.184 MB / 0.8864 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.9534, allocations: 0.8136 MB / 0.8872 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.9538, allocations: 99.94 kB / 0.8873 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004324/0.9581, allocations: 1.683 MB / 0.8889 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008316/0.9589, allocations: 378.7 kB / 0.8893 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.9603, allocations: 485.7 kB / 0.8898 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005398/0.9657, allocations: 2.371 MB / 0.8921 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.9657, allocations: 7.938 kB / 0.8921 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9657, allocations: 4 kB / 0.8921 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.82e-05/0.9658, allocations: 3.984 kB / 0.8921 GB, free: 1.957 MB / 0.6544 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.004286/0.9701, allocations: 1.594 MB / 0.8937 GB, free: 324 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.9701, allocations: 8.031 kB / 0.8937 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003048/0.9732, allocations: 0.5377 MB / 0.8942 GB, free: 15.77 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/0.976, allocations: 0.9792 MB / 0.8951 GB, free: 14.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.854e-05/0.9761, allocations: 53.3 kB / 0.8952 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.9763, allocations: 68 kB / 0.8953 GB, free: 14.65 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/0.9792, allocations: 1.238 MB / 0.8965 GB, free: 13.35 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.9793, allocations: 4 kB / 0.8965 GB, free: 13.35 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.887e-05/0.9794, allocations: 27.98 kB / 0.8965 GB, free: 13.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.509e-05/0.9794, allocations: 41.28 kB / 0.8965 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003498/0.9829, allocations: 1.186 MB / 0.8977 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007139/0.9901, allocations: 2.703 MB / 0.9003 GB, free: 9.328 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.992, allocations: 0.69 MB / 0.901 GB, free: 8.629 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009194/0.993, allocations: 423.8 kB / 0.9014 GB, free: 8.207 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005645/0.9935, allocations: 132.3 kB / 0.9015 GB, free: 8.078 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.9947, allocations: 0.6433 MB / 0.9022 GB, free: 7.375 MB / 0.67 GB Notification: Performance of pre-optimization done (n=57): time 3.517e-06/0.9948, allocations: 0 / 0.9022 GB, free: 7.375 MB / 0.67 GB Notification: Performance of matching and sorting (n=57): time 0.003326/0.9981, allocations: 1.268 MB / 0.9034 GB, free: 6.082 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.9982, allocations: 144.8 kB / 0.9035 GB, free: 5.91 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.9999, allocations: 0.8839 MB / 0.9044 GB, free: 5.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/1, allocations: 37.7 kB / 0.9044 GB, free: 4.977 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/1.001, allocations: 468.5 kB / 0.9049 GB, free: 4.512 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/1.001, allocations: 198.3 kB / 0.9051 GB, free: 4.316 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/1.001, allocations: 146.2 kB / 0.9052 GB, free: 4.168 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.001, allocations: 326 kB / 0.9055 GB, free: 3.844 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/1.003, allocations: 470.7 kB / 0.906 GB, free: 3.379 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/1.004, allocations: 0.9862 MB / 0.9069 GB, free: 2.254 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002306/1.007, allocations: 0.9261 MB / 0.9078 GB, free: 1.273 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.007, allocations: 0 / 0.9078 GB, free: 1.273 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003445/1.01, allocations: 1.218 MB / 0.909 GB, free: 36 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/1.01, allocations: 41.91 kB / 0.9091 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/1.01, allocations: 8.094 kB / 0.9091 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/1.01, allocations: 11.98 kB / 0.9091 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009745/1.011, allocations: 183.7 kB / 0.9093 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/1.011, allocations: 15.88 kB / 0.9093 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/1.013, allocations: 223.4 kB / 0.9095 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.013, allocations: 31.98 kB / 0.9095 GB, free: 15.52 MB / 0.6856 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.0006166/1.013, allocations: 327.3 kB / 0.9098 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/1.014, allocations: 103.4 kB / 0.9099 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/1.016, allocations: 0.9988 MB / 0.9109 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/1.016, allocations: 15.98 kB / 0.9109 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.016, allocations: 7.875 kB / 0.9109 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/1.016, allocations: 0 / 0.9109 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005879/1.022, allocations: 2.931 MB / 0.9138 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/1.022, allocations: 8 kB / 0.9138 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/1.023, allocations: 119.8 kB / 0.9139 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-05/1.023, allocations: 8 kB / 0.9139 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.397e-05/1.023, allocations: 32.14 kB / 0.914 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.478e-05/1.023, allocations: 11.94 kB / 0.914 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.431e-05/1.023, allocations: 15.92 kB / 0.914 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/1.025, allocations: 1.359 MB / 0.9153 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007463/1.026, allocations: 223.1 kB / 0.9155 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/1.026, allocations: 31.92 kB / 0.9156 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.027, allocations: 95.91 kB / 0.9156 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.028, allocations: 67.67 kB / 0.9157 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.028, allocations: 43.97 kB / 0.9158 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001456/1.029, allocations: 0.6317 MB / 0.9164 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/1.029, allocations: 0 / 0.9164 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001406/1.031, allocations: 331.3 kB / 0.9167 GB, free: 7.906 MB / 0.6856 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.0007913/1.031, allocations: 332.7 kB / 0.917 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002792/1.034, allocations: 1.04 MB / 0.918 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/1.034, allocations: 0 / 0.918 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/1.035, allocations: 0.5102 MB / 0.9185 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/1.038, allocations: 379.9 kB / 0.9189 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/1.042, allocations: 2.048 MB / 0.9209 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007416/1.043, allocations: 485.6 kB / 0.9213 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001001/1.044, allocations: 235.5 kB / 0.9216 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/1.044, allocations: 63.41 kB / 0.9216 GB, free: 2.645 MB / 0.6856 GB Notification: Performance of SimCode: time 1.172e-06/1.044, allocations: 4 kB / 0.9216 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of Templates: time 0.03459/1.079, allocations: 19.34 MB / 0.9405 GB, free: 15.62 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.395132506266236] Failed to read output from testmodel.py, exit status != 0: 1.087323723360896 1.105009964 0.135563168 Calling exit ...