Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 117.8 kB / 17.13 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 193.2 kB / 20.08 MB, free: 3.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.071/1.071, allocations: 175.7 MB / 479.1 MB, free: 3.406 MB / 366.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-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(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.88 kB / 0.6663 GB, free: 10.85 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1837, allocations: 94.54 MB / 0.7587 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6275/0.8112, allocations: 194.8 MB / 0.9489 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.8222, allocations: 6.95 MB / 0.9557 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.8239, allocations: 45.38 kB / 0.9557 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.8258, allocations: 0.7163 MB / 0.9564 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006026/0.8318, allocations: 2.438 MB / 0.9588 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.8351, allocations: 1.43 MB / 0.9602 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004101/0.8392, allocations: 2.979 MB / 0.9631 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.8404, allocations: 0.7463 MB / 0.9638 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.8441, allocations: 1.59 MB / 0.9654 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.8455, allocations: 0.8317 MB / 0.9662 GB, free: 6.109 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.8457, allocations: 100 kB / 0.9663 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004024/0.8497, allocations: 2.132 MB / 0.9684 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004693/0.8502, allocations: 382.6 kB / 0.9687 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007283/0.8509, allocations: 0.5831 MB / 0.9693 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.855, allocations: 2.406 MB / 0.9717 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.855, allocations: 0 / 0.9717 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.362e-06/0.855, allocations: 0 / 0.9717 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.855, allocations: 0 / 0.9717 GB, free: 0.5078 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003659/0.8586, allocations: 1.667 MB / 0.9733 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.8587, allocations: 8.031 kB / 0.9733 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/0.8616, allocations: 0.5416 MB / 0.9738 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.864, allocations: 1.05 MB / 0.9748 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/0.8641, allocations: 61.31 kB / 0.9749 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.8642, allocations: 64 kB / 0.975 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.8666, allocations: 1.105 MB / 0.976 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.8667, allocations: 0 / 0.976 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.789e-05/0.8668, allocations: 35.92 kB / 0.9761 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/0.8668, allocations: 33.28 kB / 0.9761 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00306/0.8699, allocations: 1.164 MB / 0.9773 GB, free: 10.65 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.006109/0.876, allocations: 3.183 MB / 0.9804 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.8777, allocations: 0.6497 MB / 0.981 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008254/0.8785, allocations: 392.4 kB / 0.9814 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.8796, allocations: 1.025 MB / 0.9824 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.8806, allocations: 0.5104 MB / 0.9829 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=57): time 2.354e-06/0.8806, allocations: 4 kB / 0.9829 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=57): time 0.003137/0.8838, allocations: 1.229 MB / 0.9841 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.8839, allocations: 132.9 kB / 0.9842 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.8859, allocations: 1.18 MB / 0.9853 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.97e-05/0.886, allocations: 37.7 kB / 0.9854 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.8864, allocations: 441.8 kB / 0.9858 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.8866, allocations: 206.3 kB / 0.986 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.8869, allocations: 142.1 kB / 0.9861 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.887, allocations: 326 kB / 0.9865 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.8882, allocations: 442 kB / 0.9869 GB, free: 372 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.8897, allocations: 0.6015 MB / 0.9875 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.8918, allocations: 0.9223 MB / 0.9884 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.8918, allocations: 0 / 0.9884 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003239/0.8951, allocations: 1.206 MB / 0.9895 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.762e-05/0.8951, allocations: 37.7 kB / 0.9896 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.8951, allocations: 4 kB / 0.9896 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.8952, allocations: 15.92 kB / 0.9896 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000954/0.8961, allocations: 188 kB / 0.9898 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.8961, allocations: 11.98 kB / 0.9898 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.8977, allocations: 240 kB / 0.99 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.8978, allocations: 39.97 kB / 0.9901 GB, free: 12.98 MB / 0.7325 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.0005737/0.8984, allocations: 323.4 kB / 0.9904 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.8986, allocations: 131.1 kB / 0.9905 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.9008, allocations: 0.9896 MB / 0.9915 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.9009, allocations: 15.92 kB / 0.9915 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.9009, allocations: 4 kB / 0.9915 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.9009, allocations: 0 / 0.9915 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005403/0.9063, allocations: 3.178 MB / 0.9946 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.9063, allocations: 8 kB / 0.9946 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/0.9069, allocations: 115.8 kB / 0.9947 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/0.9069, allocations: 12.19 kB / 0.9947 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-05/0.907, allocations: 27.98 kB / 0.9947 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.491e-05/0.907, allocations: 15.94 kB / 0.9947 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.907, allocations: 8 kB / 0.9948 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.9094, allocations: 1.357 MB / 0.9961 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006461/0.9101, allocations: 340 kB / 0.9964 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.9102, allocations: 23.98 kB / 0.9964 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.9113, allocations: 99.91 kB / 0.9965 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.9114, allocations: 63.69 kB / 0.9966 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.404e-05/0.9115, allocations: 43.97 kB / 0.9966 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001547/0.9131, allocations: 0.8482 MB / 0.9975 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9131, allocations: 0 / 0.9975 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001027/0.9141, allocations: 299.6 kB / 0.9977 GB, free: 4.789 MB / 0.7325 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.0007132/0.9148, allocations: 350 kB / 0.9981 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.9172, allocations: 0.9742 MB / 0.999 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9172, allocations: 0 / 0.999 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009591/0.9182, allocations: 480.9 kB / 0.9995 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/0.9207, allocations: 0.5444 MB / 1 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.9245, allocations: 2.098 MB / 1.002 GB, free: 216 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007942/0.9253, allocations: 1.061 MB / 1.003 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/0.9257, allocations: 87.41 kB / 1.003 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of SimCode: time 6.71e-07/0.9257, allocations: 0 / 1.003 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.03026/0.956, allocations: 18.89 MB / 1.022 GB, free: 12.27 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.605111424345523] Failed to read output from testmodel.py, exit status != 0: 0.9639269979670644 0.980313895 0.12007412299999995 Calling exit ...