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.0009415/0.0009415, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001883/0.001883, allocations: 173 kB / 23.5 MB, free: 1.055 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 0.9668/0.9668, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.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-535:34: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-535:42: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.7675/0.7675, allocations: 154.8 MB / 415.1 MB, free: 492 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 3.938 kB / 0.5206 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.838e-05/4.132e-05, allocations: 5.125 kB / 0.5206 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4511/0.4511, allocations: 191.2 MB / 0.7073 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0078/0.4589, allocations: 7.105 MB / 0.7143 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007323/0.4597, allocations: 66.19 kB / 0.7143 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.461, allocations: 0.6979 MB / 0.715 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.4647, allocations: 2.472 MB / 0.7174 GB, free: 47.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.467, allocations: 1.574 MB / 0.719 GB, free: 47.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002424/0.4694, allocations: 3.022 MB / 0.7219 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007107/0.4701, allocations: 0.7513 MB / 0.7226 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.4724, allocations: 1.978 MB / 0.7246 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009518/0.4733, allocations: 0.7327 MB / 0.7253 GB, free: 46.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.4735, allocations: 99.91 kB / 0.7254 GB, free: 46.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.4759, allocations: 1.687 MB / 0.727 GB, free: 46.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.4762, allocations: 392.3 kB / 0.7274 GB, free: 46.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.4765, allocations: 399.4 kB / 0.7278 GB, free: 46 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.4784, allocations: 1.876 MB / 0.7296 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4784, allocations: 2.375 kB / 0.7296 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4784, allocations: 0 / 0.7296 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.4784, allocations: 0 / 0.7296 GB, free: 45.79 MB / 0.6355 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.001942/0.4803, allocations: 1.667 MB / 0.7312 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4804, allocations: 10.55 kB / 0.7313 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.4819, allocations: 0.5136 MB / 0.7318 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.4833, allocations: 0.9965 MB / 0.7327 GB, free: 44.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.782e-05/0.4834, allocations: 56.66 kB / 0.7328 GB, free: 44.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.4835, allocations: 70.72 kB / 0.7329 GB, free: 44.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.4847, allocations: 0.8544 MB / 0.7337 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.4848, allocations: 4.062 kB / 0.7337 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.4848, allocations: 27.72 kB / 0.7337 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-05/0.4849, allocations: 31.55 kB / 0.7337 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/0.4857, allocations: 423.2 kB / 0.7341 GB, free: 44.14 MB / 0.6355 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.003031/0.4887, allocations: 2.734 MB / 0.7368 GB, free: 42.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006655/0.4894, allocations: 359.1 kB / 0.7372 GB, free: 42.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.4896, allocations: 175.9 kB / 0.7373 GB, free: 42.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/0.4899, allocations: 134.1 kB / 0.7375 GB, free: 42.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004602/0.4904, allocations: 451.4 kB / 0.7379 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 1.773e-06/0.4904, allocations: 0 / 0.7379 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.001141/0.4915, allocations: 0.6453 MB / 0.7385 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.4916, allocations: 140.6 kB / 0.7387 GB, free: 42.22 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008232/0.4924, allocations: 0.7904 MB / 0.7394 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.4924, allocations: 41.42 kB / 0.7395 GB, free: 41.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.4927, allocations: 0.5034 MB / 0.74 GB, free: 41.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.4928, allocations: 198.8 kB / 0.7401 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.493, allocations: 151.4 kB / 0.7403 GB, free: 41.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.989e-05/0.4931, allocations: 0.5064 MB / 0.7408 GB, free: 41.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.4933, allocations: 126.1 kB / 0.7409 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.4937, allocations: 0.6685 MB / 0.7416 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004645/0.4942, allocations: 444.1 kB / 0.742 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4942, allocations: 3.938 kB / 0.742 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007968/0.495, allocations: 0.5803 MB / 0.7426 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.495, allocations: 41.86 kB / 0.7426 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.495, allocations: 7.281 kB / 0.7426 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.495, allocations: 6.094 kB / 0.7426 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.4954, allocations: 154.8 kB / 0.7428 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.4954, allocations: 7.234 kB / 0.7428 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.4959, allocations: 143.2 kB / 0.7429 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.4959, allocations: 37.67 kB / 0.7429 GB, free: 39.96 MB / 0.6355 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.0001906/0.4961, allocations: 231.3 kB / 0.7432 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.4962, allocations: 120.5 kB / 0.7433 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007442/0.497, allocations: 0.5787 MB / 0.7438 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.497, allocations: 4.938 kB / 0.7438 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.497, allocations: 1 kB / 0.7438 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.497, allocations: 7.234 kB / 0.7438 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.4989, allocations: 2.061 MB / 0.7459 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4989, allocations: 10.75 kB / 0.7459 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.4991, allocations: 103.5 kB / 0.746 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-06/0.4991, allocations: 15.06 kB / 0.746 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.4991, allocations: 28.42 kB / 0.746 GB, free: 38.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.4991, allocations: 20.64 kB / 0.746 GB, free: 38.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4992, allocations: 9.406 kB / 0.746 GB, free: 38.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007612/0.4999, allocations: 1.089 MB / 0.7471 GB, free: 37.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.5002, allocations: 229.4 kB / 0.7473 GB, free: 37.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.5002, allocations: 24.97 kB / 0.7473 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.5006, allocations: 68.61 kB / 0.7474 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.5007, allocations: 58.19 kB / 0.7475 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.5007, allocations: 38.48 kB / 0.7475 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003614/0.5011, allocations: 494.6 kB / 0.748 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5011, allocations: 1 kB / 0.748 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008121/0.5019, allocations: 329.2 kB / 0.7483 GB, free: 37.55 MB / 0.6355 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.000426/0.5023, allocations: 334 kB / 0.7486 GB, free: 37.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006486/0.503, allocations: 0.4973 MB / 0.7491 GB, free: 37.28 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.503, allocations: 0 / 0.7491 GB, free: 37.28 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.5033, allocations: 298 kB / 0.7494 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.5044, allocations: 417.2 kB / 0.7498 GB, free: 37.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.5065, allocations: 1.821 MB / 0.7516 GB, free: 36.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.5066, allocations: 221.8 kB / 0.7518 GB, free: 35.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004935/0.5071, allocations: 221.8 kB / 0.752 GB, free: 35.94 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.5073, allocations: 69.19 kB / 0.752 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of SimCode: time 1.153e-06/0.5073, allocations: 0 / 0.752 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.01815/0.5254, allocations: 18.1 MB / 0.7697 GB, free: 33.78 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.584344699978828]