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.001905/0.001905, allocations: 85.48 kB / 19.44 MB, free: 344 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.002144/0.002144, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.564/1.564, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.342/1.342, allocations: 154.8 MB / 414.4 MB, free: 452 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 178] 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 1.924e-06/1.924e-06, allocations: 0 / 0.5199 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.281e-05, allocations: 7.125 kB / 0.5199 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5708/0.5709, allocations: 191.1 MB / 0.7065 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.581, allocations: 7.106 MB / 0.7134 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.5824, allocations: 66 kB / 0.7135 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.584, allocations: 0.7004 MB / 0.7142 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005751/0.5897, allocations: 2.477 MB / 0.7166 GB, free: 47.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.5932, allocations: 1.582 MB / 0.7181 GB, free: 47.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004252/0.5975, allocations: 3.013 MB / 0.7211 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.5987, allocations: 0.751 MB / 0.7218 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00442/0.6032, allocations: 1.976 MB / 0.7237 GB, free: 46.35 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.6052, allocations: 0.7297 MB / 0.7245 GB, free: 46.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003506/0.6056, allocations: 98.75 kB / 0.7245 GB, free: 46.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003942/0.6095, allocations: 1.687 MB / 0.7262 GB, free: 46.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004941/0.61, allocations: 393 kB / 0.7266 GB, free: 46.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007284/0.6107, allocations: 397 kB / 0.7269 GB, free: 46 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004606/0.6153, allocations: 2.457 MB / 0.7293 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6153, allocations: 0.6562 kB / 0.7293 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6153, allocations: 1.938 kB / 0.7293 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.46e-05/0.6154, allocations: 0 / 0.7293 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.003696/0.6191, allocations: 1.768 MB / 0.7311 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.6191, allocations: 10.44 kB / 0.7311 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.6217, allocations: 0.5103 MB / 0.7316 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.6241, allocations: 1.011 MB / 0.7326 GB, free: 44.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.497e-05/0.6242, allocations: 52.22 kB / 0.7326 GB, free: 44.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.6244, allocations: 70.22 kB / 0.7327 GB, free: 44.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.6266, allocations: 1.081 MB / 0.7337 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.6267, allocations: 1.156 kB / 0.7337 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.451e-05/0.6268, allocations: 28.19 kB / 0.7338 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/0.6268, allocations: 32.94 kB / 0.7338 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.6291, allocations: 0.8417 MB / 0.7346 GB, free: 44.16 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.00556/0.6347, allocations: 3.186 MB / 0.7377 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.6361, allocations: 0.4964 MB / 0.7382 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/0.6367, allocations: 275.4 kB / 0.7385 GB, free: 42.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005093/0.6372, allocations: 133.8 kB / 0.7386 GB, free: 42.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000905/0.6381, allocations: 0.5705 MB / 0.7392 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 3.125e-06/0.6381, allocations: 0.9688 kB / 0.7392 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.002381/0.6405, allocations: 0.9088 MB / 0.7401 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.6405, allocations: 138.7 kB / 0.7402 GB, free: 42.22 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.6419, allocations: 1.059 MB / 0.7412 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-05/0.642, allocations: 38.8 kB / 0.7413 GB, free: 41.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.6424, allocations: 0.5541 MB / 0.7418 GB, free: 41.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.6425, allocations: 215.8 kB / 0.742 GB, free: 41.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.6428, allocations: 171.9 kB / 0.7422 GB, free: 41.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6429, allocations: 0.5239 MB / 0.7427 GB, free: 41.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008203/0.6437, allocations: 307.5 kB / 0.743 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.6448, allocations: 0.8656 MB / 0.7438 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.6463, allocations: 0.7025 MB / 0.7445 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.6463, allocations: 0 / 0.7445 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002334/0.6486, allocations: 0.9104 MB / 0.7454 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.6487, allocations: 40.97 kB / 0.7454 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.6487, allocations: 3.344 kB / 0.7454 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.6487, allocations: 6.312 kB / 0.7454 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/0.6494, allocations: 155.8 kB / 0.7456 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.6495, allocations: 9.922 kB / 0.7456 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.6506, allocations: 150.4 kB / 0.7457 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-05/0.6507, allocations: 34.86 kB / 0.7458 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.0004822/0.6511, allocations: 323.7 kB / 0.7461 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.6514, allocations: 112.4 kB / 0.7462 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.653, allocations: 0.7532 MB / 0.7469 GB, free: 39.58 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.653, allocations: 6.375 kB / 0.7469 GB, free: 39.58 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.653, allocations: 0.9375 kB / 0.7469 GB, free: 39.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.653, allocations: 5.625 kB / 0.7469 GB, free: 39.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00399/0.657, allocations: 2.594 MB / 0.7495 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.657, allocations: 9.812 kB / 0.7495 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/0.6576, allocations: 110.6 kB / 0.7496 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.6576, allocations: 12.25 kB / 0.7496 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.6576, allocations: 33.72 kB / 0.7496 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.6576, allocations: 9.938 kB / 0.7496 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.6576, allocations: 12.22 kB / 0.7497 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.6593, allocations: 1.29 MB / 0.7509 GB, free: 37.22 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/0.6598, allocations: 223.5 kB / 0.7511 GB, free: 37.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.6599, allocations: 29.52 kB / 0.7512 GB, free: 37.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008602/0.6608, allocations: 61.62 kB / 0.7512 GB, free: 37.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.6609, allocations: 61.94 kB / 0.7513 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-05/0.661, allocations: 38.5 kB / 0.7513 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001018/0.662, allocations: 0.682 MB / 0.752 GB, free: 36.78 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.662, allocations: 0 / 0.752 GB, free: 36.78 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001358/0.6634, allocations: 335.2 kB / 0.7523 GB, free: 36.71 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.0006412/0.664, allocations: 338.6 kB / 0.7526 GB, free: 36.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.6657, allocations: 0.7757 MB / 0.7534 GB, free: 36.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.6658, allocations: 1.25 kB / 0.7534 GB, free: 36.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006552/0.6664, allocations: 416.4 kB / 0.7538 GB, free: 36.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.6684, allocations: 426.7 kB / 0.7542 GB, free: 35.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.6712, allocations: 1.965 MB / 0.7561 GB, free: 34.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.6716, allocations: 473.9 kB / 0.7566 GB, free: 34.51 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007704/0.6723, allocations: 212.2 kB / 0.7568 GB, free: 34.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.6726, allocations: 69.22 kB / 0.7568 GB, free: 34.45 MB / 0.6355 GB Notification: Performance of SimCode: time 8.42e-07/0.6726, allocations: 3.094 kB / 0.7568 GB, free: 34.45 MB / 0.6355 GB Notification: Performance of Templates: time 0.0253/0.6979, allocations: 18.07 MB / 0.7745 GB, free: 32.25 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: 7.20936189906206]