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.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.0008401/0.0008401, allocations: 96.38 kB / 19.7 MB, free: 448 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.0008244/0.0008244, allocations: 211.2 kB / 23 MB, free: 2.977 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.9089/0.9089, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7783/0.7783, allocations: 203.8 MB / 0.5049 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(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: 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.0009577/0.0009577, allocations: 69.52 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.594/0.5949, allocations: 102 MB / 0.819 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1479/0.7429, allocations: 171.9 MB / 0.9869 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007537/0.7504, allocations: 6.6 MB / 0.9934 GB, free: 2.496 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007736/0.7512, allocations: 63.38 kB / 0.9934 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.7524, allocations: 0.687 MB / 0.9941 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.7558, allocations: 2.408 MB / 0.9965 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.7578, allocations: 1.539 MB / 0.998 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.76, allocations: 3.019 MB / 1.001 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006225/0.7606, allocations: 0.7089 MB / 1.002 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.7628, allocations: 1.643 MB / 1.003 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006616/0.7634, allocations: 0.799 MB / 1.004 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.115e-05/0.7635, allocations: 100 kB / 1.004 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.7654, allocations: 1.652 MB / 1.006 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.7657, allocations: 382.6 kB / 1.006 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003078/0.766, allocations: 477.7 kB / 1.007 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.7677, allocations: 2.34 MB / 1.009 GB, free: 2.676 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7677, allocations: 3.938 kB / 1.009 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7677, allocations: 0 / 1.009 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.7677, allocations: 0 / 1.009 GB, free: 2.672 MB / 0.7761 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.001904/0.7696, allocations: 1.598 MB / 1.01 GB, free: 1.031 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.7697, allocations: 12.02 kB / 1.01 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.7711, allocations: 0.5377 MB / 1.011 GB, free: 492 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.7724, allocations: 0.9678 MB / 1.012 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.7724, allocations: 57.31 kB / 1.012 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/0.7725, allocations: 71.98 kB / 1.012 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.7739, allocations: 1.23 MB / 1.013 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.7739, allocations: 7.938 kB / 1.013 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.774, allocations: 28 kB / 1.013 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.774, allocations: 33.3 kB / 1.013 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.7756, allocations: 1.189 MB / 1.014 GB, free: 12.81 MB / 0.7917 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.002939/0.7786, allocations: 2.709 MB / 1.017 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.7796, allocations: 0.6847 MB / 1.018 GB, free: 9.34 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/0.78, allocations: 423.8 kB / 1.018 GB, free: 8.918 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.7803, allocations: 132.3 kB / 1.018 GB, free: 8.789 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006289/0.7809, allocations: 0.6433 MB / 1.019 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=57): time 1.573e-06/0.7809, allocations: 4 kB / 1.019 GB, free: 8.086 MB / 0.7917 GB Notification: Performance of matching and sorting (n=57): time 0.001635/0.7825, allocations: 1.264 MB / 1.02 GB, free: 6.801 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.7826, allocations: 140.9 kB / 1.02 GB, free: 6.633 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008991/0.7835, allocations: 0.8839 MB / 1.021 GB, free: 5.734 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.7835, allocations: 37.7 kB / 1.021 GB, free: 5.691 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.7838, allocations: 464.5 kB / 1.022 GB, free: 5.23 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.7839, allocations: 206.2 kB / 1.022 GB, free: 5.027 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.784, allocations: 146.2 kB / 1.022 GB, free: 4.879 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.7841, allocations: 333.8 kB / 1.022 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/0.7848, allocations: 474.7 kB / 1.023 GB, free: 4.078 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008333/0.7856, allocations: 0.9862 MB / 1.024 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.7867, allocations: 0.9292 MB / 1.025 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7867, allocations: 0 / 1.025 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001588/0.7883, allocations: 1.218 MB / 1.026 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.7883, allocations: 33.7 kB / 1.026 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.7883, allocations: 4 kB / 1.026 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.7884, allocations: 4 kB / 1.026 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.7888, allocations: 196 kB / 1.026 GB, free: 496 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.7888, allocations: 11.94 kB / 1.026 GB, free: 484 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/0.7894, allocations: 215.4 kB / 1.026 GB, free: 268 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.7895, allocations: 40.44 kB / 1.026 GB, free: 228 kB / 0.7917 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.0002978/0.7898, allocations: 319.7 kB / 1.027 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.784e-05/0.7899, allocations: 99.42 kB / 1.027 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.7911, allocations: 1.009 MB / 1.028 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.7912, allocations: 8 kB / 1.028 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7912, allocations: 0 / 1.028 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.7912, allocations: 7.922 kB / 1.028 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.7938, allocations: 2.933 MB / 1.031 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.7938, allocations: 8 kB / 1.031 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.7941, allocations: 124.3 kB / 1.031 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.7941, allocations: 8 kB / 1.031 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.7941, allocations: 27.98 kB / 1.031 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.7941, allocations: 8 kB / 1.031 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.7941, allocations: 11.94 kB / 1.031 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.7953, allocations: 1.375 MB / 1.032 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.7956, allocations: 227 kB / 1.032 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.435e-05/0.7957, allocations: 27.98 kB / 1.032 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.7962, allocations: 103.9 kB / 1.032 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.7962, allocations: 67.67 kB / 1.032 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.7963, allocations: 39.91 kB / 1.032 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006465/0.7969, allocations: 0.6395 MB / 1.033 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.7969, allocations: 0 / 1.033 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000698/0.7976, allocations: 323.4 kB / 1.033 GB, free: 8.586 MB / 0.8073 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.0004491/0.7981, allocations: 332.5 kB / 1.034 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.7995, allocations: 1.039 MB / 1.035 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7995, allocations: 0 / 1.035 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.8001, allocations: 0.5102 MB / 1.035 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.8012, allocations: 370.7 kB / 1.036 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.8034, allocations: 2.089 MB / 1.038 GB, free: 4.102 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.8037, allocations: 485.5 kB / 1.038 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.8039, allocations: 75.41 kB / 1.038 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.8039, allocations: 0 / 1.038 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of Templates: time 0.0142/0.8181, allocations: 16.79 MB / 1.055 GB, free: 2.832 MB / 0.823 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: 7.465328553691506] Failed to read output from testmodel.py, exit status != 0: 0.8247171780094504 0.832685355 0.063157304 Calling exit ...