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.00142/0.00142, allocations: 110.7 kB / 17.08 MB, free: 5.984 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.001428/0.001428, allocations: 195.6 kB / 20.03 MB, free: 3.059 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.472/1.472, allocations: 222.9 MB / 245.7 MB, free: 4.23 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.22/1.22, allocations: 173.4 MB / 471.3 MB, free: 6.617 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.002669/0.002669, allocations: 70.08 kB / 0.649 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2188, allocations: 89.52 MB / 0.7364 GB, free: 3.668 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.782/1.001, allocations: 194.1 MB / 0.9259 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01107/1.012, allocations: 6.94 MB / 0.9327 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/1.014, allocations: 44.69 kB / 0.9327 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002099/1.016, allocations: 0.6917 MB / 0.9334 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006463/1.023, allocations: 2.332 MB / 0.9357 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003583/1.026, allocations: 1.434 MB / 0.9371 GB, free: 12 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004656/1.031, allocations: 2.973 MB / 0.94 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/1.033, allocations: 0.8938 MB / 0.9409 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004371/1.037, allocations: 1.56 MB / 0.9424 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/1.039, allocations: 0.7805 MB / 0.9432 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002536/1.039, allocations: 97.94 kB / 0.9433 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004641/1.044, allocations: 2.036 MB / 0.9452 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006157/1.044, allocations: 365.5 kB / 0.9456 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009421/1.045, allocations: 0.5928 MB / 0.9462 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005089/1.05, allocations: 2.394 MB / 0.9485 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.05, allocations: 4 kB / 0.9485 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.274e-06/1.05, allocations: 0 / 0.9485 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.588e-05/1.051, allocations: 0 / 0.9485 GB, free: 6.789 MB / 0.6856 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.003743/1.054, allocations: 1.672 MB / 0.9501 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/1.054, allocations: 10.47 kB / 0.9502 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/1.057, allocations: 0.5448 MB / 0.9507 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/1.06, allocations: 1.04 MB / 0.9517 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/1.06, allocations: 55.3 kB / 0.9518 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.06, allocations: 67.97 kB / 0.9518 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/1.063, allocations: 1.113 MB / 0.9529 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/1.063, allocations: 2.312 kB / 0.9529 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.296e-05/1.063, allocations: 27.59 kB / 0.9529 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-05/1.063, allocations: 37.27 kB / 0.953 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/1.066, allocations: 1.158 MB / 0.9541 GB, free: 3.184 MB / 0.6856 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.006211/1.072, allocations: 3.176 MB / 0.9572 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/1.074, allocations: 0.6851 MB / 0.9579 GB, free: 456 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007973/1.075, allocations: 424.9 kB / 0.9583 GB, free: 248 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/1.076, allocations: 1.027 MB / 0.9593 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/1.077, allocations: 0.5062 MB / 0.9598 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.445e-06/1.077, allocations: 0 / 0.9598 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003141/1.08, allocations: 1.227 MB / 0.961 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.692e-05/1.08, allocations: 144.6 kB / 0.9611 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/1.082, allocations: 1.178 MB / 0.9623 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.082, allocations: 38.64 kB / 0.9623 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/1.083, allocations: 442.4 kB / 0.9627 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/1.083, allocations: 196.9 kB / 0.9629 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/1.083, allocations: 147 kB / 0.963 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.083, allocations: 327.6 kB / 0.9634 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/1.085, allocations: 444 kB / 0.9638 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/1.086, allocations: 0.6013 MB / 0.9644 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/1.088, allocations: 0.928 MB / 0.9653 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/1.088, allocations: 2.219 kB / 0.9653 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003215/1.091, allocations: 1.203 MB / 0.9665 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.184e-05/1.091, allocations: 41.09 kB / 0.9665 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.092, allocations: 2.719 kB / 0.9665 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/1.092, allocations: 10.75 kB / 0.9665 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008893/1.092, allocations: 187.6 kB / 0.9667 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/1.092, allocations: 5 kB / 0.9667 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/1.094, allocations: 247.5 kB / 0.9669 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.868e-05/1.094, allocations: 37.06 kB / 0.967 GB, free: 10.31 MB / 0.7012 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.0005703/1.095, allocations: 334.2 kB / 0.9673 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002627/1.095, allocations: 120.8 kB / 0.9674 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/1.097, allocations: 0.9847 MB / 0.9684 GB, free: 9.438 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/1.097, allocations: 15.77 kB / 0.9684 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.097, allocations: 3.938 kB / 0.9684 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/1.097, allocations: 0 / 0.9684 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00524/1.102, allocations: 3.175 MB / 0.9715 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.102, allocations: 6.688 kB / 0.9715 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/1.103, allocations: 120.6 kB / 0.9716 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/1.103, allocations: 9.375 kB / 0.9716 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/1.103, allocations: 20.92 kB / 0.9716 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.672e-05/1.103, allocations: 19.36 kB / 0.9716 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/1.103, allocations: 13.38 kB / 0.9717 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/1.106, allocations: 1.356 MB / 0.973 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006405/1.106, allocations: 344 kB / 0.9733 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/1.107, allocations: 27.98 kB / 0.9733 GB, free: 5.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/1.108, allocations: 95.91 kB / 0.9734 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/1.108, allocations: 59.77 kB / 0.9735 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.048e-05/1.108, allocations: 39.97 kB / 0.9735 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001586/1.109, allocations: 0.8482 MB / 0.9743 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/1.11, allocations: 0 / 0.9743 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001174/1.111, allocations: 303.6 kB / 0.9746 GB, free: 3.93 MB / 0.7012 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.0008615/1.112, allocations: 355.1 kB / 0.975 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002623/1.114, allocations: 1.013 MB / 0.976 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.114, allocations: 4 kB / 0.976 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/1.115, allocations: 0.5109 MB / 0.9765 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/1.118, allocations: 0.5456 MB / 0.977 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/1.123, allocations: 2.098 MB / 0.9791 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009436/1.124, allocations: 1.061 MB / 0.9801 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/1.124, allocations: 91.41 kB / 0.9802 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of SimCode: time 8.02e-07/1.124, allocations: 0 / 0.9802 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.03246/1.156, allocations: 18.81 MB / 0.9985 GB, free: 11.41 MB / 0.7325 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: 12.008700967999175] Failed to read output from testmodel.py, exit status != 0: 1.1650699868332595 1.179200635 0.12582114900000002 Calling exit ...