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.001256/0.001256, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001136/0.001136, allocations: 177 kB / 23.36 MB, free: 1.133 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.9336/0.9336, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.743/0.743, allocations: 154.9 MB / 415.1 MB, free: 244 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 1.162e-06/1.162e-06, allocations: 0 / 480.4 MB, free: 6.562 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.718e-06/1.088e-05, allocations: 6.625 kB / 480.4 MB, free: 6.559 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1318/0.1318, allocations: 152.9 MB / 0.6184 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.006327/0.1381, allocations: 4.958 MB / 0.6232 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005563/0.1387, allocations: 67.44 kB / 0.6233 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007423/0.1394, allocations: 416.8 kB / 0.6237 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.1414, allocations: 1.263 MB / 0.6249 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.1434, allocations: 1.582 MB / 0.6265 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001993/0.1454, allocations: 2.954 MB / 0.6294 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006409/0.1461, allocations: 0.7547 MB / 0.6301 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.1479, allocations: 1.526 MB / 0.6316 GB, free: 44 kB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.1484, allocations: 0.6425 MB / 0.6322 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1485, allocations: 96 kB / 0.6323 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000789/0.1493, allocations: 0.7133 MB / 0.633 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.1496, allocations: 386.7 kB / 0.6334 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.1499, allocations: 395 kB / 0.6338 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1509, allocations: 1.378 MB / 0.6351 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1509, allocations: 0 / 0.6351 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1509, allocations: 0 / 0.6351 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.151, allocations: 0 / 0.6351 GB, free: 12.44 MB / 0.6042 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.001561/0.1525, allocations: 1.445 MB / 0.6365 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.1525, allocations: 8.031 kB / 0.6365 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009956/0.1535, allocations: 476.1 kB / 0.637 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/0.1543, allocations: 0.7121 MB / 0.6377 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.1543, allocations: 53.44 kB / 0.6377 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.85e-05/0.1544, allocations: 83.91 kB / 0.6378 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008115/0.1552, allocations: 0.7846 MB / 0.6386 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1552, allocations: 3.938 kB / 0.6386 GB, free: 8.762 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.1553, allocations: 32 kB / 0.6386 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.1553, allocations: 33.31 kB / 0.6386 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.1558, allocations: 317.6 kB / 0.6389 GB, free: 8.379 MB / 0.6042 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.002243/0.158, allocations: 1.935 MB / 0.6408 GB, free: 6.402 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.1585, allocations: 346.5 kB / 0.6412 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.1586, allocations: 150.8 kB / 0.6413 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.562e-05/0.1587, allocations: 36.48 kB / 0.6413 GB, free: 5.852 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003149/0.159, allocations: 418 kB / 0.6417 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 1.593e-06/0.159, allocations: 0 / 0.6417 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.0008005/0.1598, allocations: 490.4 kB / 0.6422 GB, free: 4.887 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1599, allocations: 140.8 kB / 0.6423 GB, free: 4.719 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005156/0.1604, allocations: 0.6911 MB / 0.643 GB, free: 4.012 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.1604, allocations: 41.7 kB / 0.6431 GB, free: 3.965 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.1606, allocations: 342.4 kB / 0.6434 GB, free: 3.625 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.1607, allocations: 198.3 kB / 0.6436 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.1609, allocations: 130.2 kB / 0.6437 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.973e-05/0.1609, allocations: 333.9 kB / 0.644 GB, free: 2.965 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1611, allocations: 113.7 kB / 0.6441 GB, free: 2.848 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.1613, allocations: 0.5206 MB / 0.6446 GB, free: 2.207 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.1617, allocations: 386.9 kB / 0.645 GB, free: 1.773 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1617, allocations: 8 kB / 0.645 GB, free: 1.766 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005995/0.1623, allocations: 414.3 kB / 0.6454 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.1623, allocations: 45.69 kB / 0.6454 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1623, allocations: 4 kB / 0.6454 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1623, allocations: 4 kB / 0.6455 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.1627, allocations: 147.8 kB / 0.6456 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1627, allocations: 15.94 kB / 0.6456 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.1631, allocations: 139.5 kB / 0.6457 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.1631, allocations: 35.97 kB / 0.6458 GB, free: 0.9453 MB / 0.6042 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.0001823/0.1633, allocations: 190.1 kB / 0.646 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.1634, allocations: 71.92 kB / 0.646 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.1639, allocations: 452.5 kB / 0.6465 GB, free: 216 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.1639, allocations: 8 kB / 0.6465 GB, free: 208 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1639, allocations: 7.938 kB / 0.6465 GB, free: 200 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1639, allocations: 3.984 kB / 0.6465 GB, free: 196 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.1654, allocations: 1.658 MB / 0.6481 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.1654, allocations: 8 kB / 0.6481 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.1657, allocations: 103.8 kB / 0.6482 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.1657, allocations: 8 kB / 0.6482 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.1657, allocations: 27.98 kB / 0.6482 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.1657, allocations: 19.91 kB / 0.6483 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.1657, allocations: 12.12 kB / 0.6483 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.1663, allocations: 0.9113 MB / 0.6492 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.1665, allocations: 163.1 kB / 0.6493 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.1666, allocations: 32 kB / 0.6493 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.1669, allocations: 67.88 kB / 0.6494 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/0.167, allocations: 59.69 kB / 0.6495 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.167, allocations: 39.97 kB / 0.6495 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000226/0.1673, allocations: 324.5 kB / 0.6498 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.1673, allocations: 0 / 0.6498 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005203/0.1678, allocations: 299.4 kB / 0.6501 GB, free: 12.17 MB / 0.6198 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.0002713/0.168, allocations: 204.2 kB / 0.6503 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004554/0.1685, allocations: 431.8 kB / 0.6507 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.1685, allocations: 12 kB / 0.6507 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.1687, allocations: 272.2 kB / 0.651 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009496/0.1697, allocations: 400 kB / 0.6514 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.1716, allocations: 1.754 MB / 0.6531 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.1717, allocations: 216.4 kB / 0.6533 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003651/0.1721, allocations: 152.3 kB / 0.6534 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006269/0.1727, allocations: 350.9 kB / 0.6538 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.1727, allocations: 0 / 0.6538 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of Templates: time 0.01845/0.1912, allocations: 17.97 MB / 0.6713 GB, free: 6.637 MB / 0.6355 GB " [Timeout remaining time 660] 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.211853073909879]