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.001421/0.001421, allocations: 84.73 kB / 19.44 MB, free: 348 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.001752/0.001752, allocations: 161.7 kB / 22.75 MB, free: 1.676 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.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.236/1.236, allocations: 154.8 MB / 414.3 MB, free: 460 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.473e-06/1.473e-06, allocations: 0 / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.804e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5317/0.5317, allocations: 171.7 MB / 0.6875 GB, free: 45.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009546/0.5412, allocations: 6.623 MB / 0.694 GB, free: 45.64 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.5424, allocations: 63.31 kB / 0.6941 GB, free: 45.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.5439, allocations: 0.6975 MB / 0.6947 GB, free: 45.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004962/0.5488, allocations: 2.472 MB / 0.6972 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.552, allocations: 1.584 MB / 0.6987 GB, free: 45.51 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003398/0.5554, allocations: 3.011 MB / 0.7016 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.5565, allocations: 0.748 MB / 0.7024 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.5603, allocations: 1.973 MB / 0.7043 GB, free: 45.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.5615, allocations: 0.7225 MB / 0.705 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.5617, allocations: 100.8 kB / 0.7051 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.5647, allocations: 1.678 MB / 0.7067 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.565, allocations: 393.6 kB / 0.7071 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000528/0.5655, allocations: 397 kB / 0.7075 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.5689, allocations: 2.457 MB / 0.7099 GB, free: 44.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5689, allocations: 0 / 0.7099 GB, free: 44.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5689, allocations: 3 kB / 0.7099 GB, free: 44.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.569, allocations: 0.7812 kB / 0.7099 GB, free: 44.55 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.002976/0.5719, allocations: 1.577 MB / 0.7114 GB, free: 43.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.572, allocations: 11.31 kB / 0.7114 GB, free: 43.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/0.5751, allocations: 0.6324 MB / 0.7121 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.5779, allocations: 1.037 MB / 0.7131 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-05/0.578, allocations: 58.19 kB / 0.7131 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.5782, allocations: 69 kB / 0.7132 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.5805, allocations: 1.236 MB / 0.7144 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.5805, allocations: 0.9688 kB / 0.7144 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.794e-05/0.5806, allocations: 32.78 kB / 0.7144 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/0.5806, allocations: 32.7 kB / 0.7145 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.5834, allocations: 1.194 MB / 0.7156 GB, free: 43.08 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.005723/0.5891, allocations: 2.732 MB / 0.7183 GB, free: 42.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.5909, allocations: 0.68 MB / 0.719 GB, free: 42.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007693/0.5916, allocations: 419.9 kB / 0.7194 GB, free: 42.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004977/0.5921, allocations: 133.2 kB / 0.7195 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.5932, allocations: 0.6527 MB / 0.7201 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 2.294e-06/0.5932, allocations: 1.125 kB / 0.7201 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.003228/0.5964, allocations: 1.292 MB / 0.7214 GB, free: 41.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.5965, allocations: 137.6 kB / 0.7215 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.5981, allocations: 0.8836 MB / 0.7224 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.301e-05/0.5982, allocations: 38.02 kB / 0.7224 GB, free: 41.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.5985, allocations: 463.5 kB / 0.7229 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.5986, allocations: 197.6 kB / 0.7231 GB, free: 41.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/0.5989, allocations: 145.7 kB / 0.7232 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.385e-05/0.599, allocations: 334.7 kB / 0.7235 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.6003, allocations: 472.9 kB / 0.724 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.6021, allocations: 0.9855 MB / 0.7249 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/0.6046, allocations: 0.9276 MB / 0.7258 GB, free: 39.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.6046, allocations: 2.594 kB / 0.7258 GB, free: 39.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00386/0.6085, allocations: 1.239 MB / 0.727 GB, free: 39.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.6085, allocations: 40.75 kB / 0.7271 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.6086, allocations: 4.453 kB / 0.7271 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/0.6086, allocations: 7.312 kB / 0.7271 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009867/0.6096, allocations: 189.1 kB / 0.7273 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.6096, allocations: 9.672 kB / 0.7273 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.6111, allocations: 210.5 kB / 0.7275 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.6113, allocations: 41.14 kB / 0.7275 GB, free: 39.7 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.0005803/0.6118, allocations: 336.2 kB / 0.7278 GB, free: 39.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.6121, allocations: 113 kB / 0.728 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.6142, allocations: 1.012 MB / 0.7289 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.6143, allocations: 7.297 kB / 0.7289 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.944e-06/0.6143, allocations: 1.375 kB / 0.7289 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.6143, allocations: 4.656 kB / 0.729 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005317/0.6196, allocations: 2.929 MB / 0.7318 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.6196, allocations: 10.84 kB / 0.7318 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.6202, allocations: 120.8 kB / 0.7319 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-05/0.6203, allocations: 18.12 kB / 0.732 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-05/0.6203, allocations: 25.33 kB / 0.732 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.6203, allocations: 12.84 kB / 0.732 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.6203, allocations: 16.67 kB / 0.732 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.6226, allocations: 1.366 MB / 0.7333 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/0.6231, allocations: 238.1 kB / 0.7336 GB, free: 37.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.6232, allocations: 27.11 kB / 0.7336 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.6242, allocations: 100.5 kB / 0.7337 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.6243, allocations: 63.31 kB / 0.7338 GB, free: 37.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.097e-05/0.6244, allocations: 38.95 kB / 0.7338 GB, free: 37.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001177/0.6256, allocations: 0.6384 MB / 0.7344 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.6256, allocations: 0 / 0.7344 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001424/0.627, allocations: 331.9 kB / 0.7347 GB, free: 37.82 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.0006587/0.6277, allocations: 345.7 kB / 0.7351 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.6299, allocations: 1.042 MB / 0.7361 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.6299, allocations: 2.719 kB / 0.7361 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008605/0.6308, allocations: 0.5106 MB / 0.7366 GB, free: 37.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.6328, allocations: 418 kB / 0.737 GB, free: 37.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.6364, allocations: 2.036 MB / 0.739 GB, free: 36.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.6369, allocations: 483.7 kB / 0.7394 GB, free: 36.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00093/0.6378, allocations: 233.9 kB / 0.7396 GB, free: 36.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.638, allocations: 76.27 kB / 0.7397 GB, free: 36.24 MB / 0.6355 GB Notification: Performance of SimCode: time 1.343e-06/0.638, allocations: 0 / 0.7397 GB, free: 36.24 MB / 0.6355 GB Notification: Performance of Templates: time 0.02723/0.6653, allocations: 18.05 MB / 0.7574 GB, free: 34.08 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.884243652923033]