Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001048/0.001048, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001362/0.001362, allocations: 173 kB / 23.49 MB, free: 1.059 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.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7925/0.7925, allocations: 154.6 MB / 414.9 MB, free: 0.6797 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5203 GB, free: 2.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.032e-05, allocations: 2.859 kB / 0.5203 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4704/0.4705, allocations: 191.2 MB / 0.7071 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009767/0.4802, allocations: 7.116 MB / 0.714 GB, free: 47.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.4828, allocations: 65.31 kB / 0.7141 GB, free: 47.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002452/0.4853, allocations: 0.6972 MB / 0.7148 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006969/0.4922, allocations: 2.479 MB / 0.7172 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004093/0.4963, allocations: 1.571 MB / 0.7187 GB, free: 47.03 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003399/0.4997, allocations: 3.019 MB / 0.7217 GB, free: 46.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.5008, allocations: 0.7466 MB / 0.7224 GB, free: 46.53 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003213/0.5041, allocations: 1.984 MB / 0.7243 GB, free: 46.33 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.5053, allocations: 0.7285 MB / 0.725 GB, free: 46.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.5056, allocations: 99.19 kB / 0.7251 GB, free: 46.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002907/0.5085, allocations: 1.69 MB / 0.7268 GB, free: 46.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.5088, allocations: 390.6 kB / 0.7272 GB, free: 46.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005624/0.5094, allocations: 400.6 kB / 0.7275 GB, free: 45.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.5126, allocations: 1.87 MB / 0.7294 GB, free: 45.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5126, allocations: 0 / 0.7294 GB, free: 45.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5126, allocations: 1.781 kB / 0.7294 GB, free: 45.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.787e-05/0.5126, allocations: 0 / 0.7294 GB, free: 45.77 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.003021/0.5156, allocations: 1.676 MB / 0.731 GB, free: 44.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.5157, allocations: 10.56 kB / 0.731 GB, free: 44.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.5174, allocations: 0.5106 MB / 0.7315 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.5193, allocations: 0.9948 MB / 0.7325 GB, free: 44.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/0.5194, allocations: 56.97 kB / 0.7325 GB, free: 44.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.5195, allocations: 67.56 kB / 0.7326 GB, free: 44.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.5209, allocations: 0.8578 MB / 0.7334 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.5209, allocations: 0 / 0.7334 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.5209, allocations: 29.31 kB / 0.7335 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/0.521, allocations: 33.36 kB / 0.7335 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008982/0.5219, allocations: 423.3 kB / 0.7339 GB, free: 44.11 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.003527/0.5254, allocations: 2.734 MB / 0.7366 GB, free: 42.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007423/0.5262, allocations: 357.5 kB / 0.7369 GB, free: 42.87 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.5264, allocations: 179.9 kB / 0.7371 GB, free: 42.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/0.5267, allocations: 136.1 kB / 0.7372 GB, free: 42.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000457/0.5272, allocations: 452.7 kB / 0.7377 GB, free: 42.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 2.334e-06/0.5272, allocations: 0 / 0.7377 GB, free: 42.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.001255/0.5284, allocations: 0.6457 MB / 0.7383 GB, free: 42.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5285, allocations: 142.4 kB / 0.7384 GB, free: 42.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008493/0.5293, allocations: 0.7885 MB / 0.7392 GB, free: 42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.5294, allocations: 39.14 kB / 0.7392 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.5296, allocations: 0.5052 MB / 0.7397 GB, free: 41.72 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.5298, allocations: 195.4 kB / 0.7399 GB, free: 41.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.53, allocations: 150.8 kB / 0.74 GB, free: 41.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.53, allocations: 0.5064 MB / 0.7405 GB, free: 41.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.5303, allocations: 130.4 kB / 0.7407 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.5307, allocations: 0.6715 MB / 0.7413 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.5312, allocations: 448.9 kB / 0.7418 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5312, allocations: 0 / 0.7418 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008722/0.5321, allocations: 0.5827 MB / 0.7423 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.5321, allocations: 37.91 kB / 0.7424 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5321, allocations: 3.594 kB / 0.7424 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.5321, allocations: 7.5 kB / 0.7424 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.5326, allocations: 158.5 kB / 0.7425 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5326, allocations: 6.938 kB / 0.7425 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/0.5332, allocations: 141.6 kB / 0.7427 GB, free: 39.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.5332, allocations: 37.42 kB / 0.7427 GB, free: 39.94 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.0002461/0.5335, allocations: 239.7 kB / 0.7429 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.5336, allocations: 115.3 kB / 0.743 GB, free: 39.69 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008254/0.5344, allocations: 0.574 MB / 0.7436 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.5344, allocations: 11.81 kB / 0.7436 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.5345, allocations: 0 / 0.7436 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.5345, allocations: 4.312 kB / 0.7436 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.5366, allocations: 2.058 MB / 0.7456 GB, free: 38.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.5366, allocations: 9.125 kB / 0.7456 GB, free: 38.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.5369, allocations: 110.7 kB / 0.7457 GB, free: 38.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.5369, allocations: 9.938 kB / 0.7457 GB, free: 38.58 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.5369, allocations: 28.28 kB / 0.7458 GB, free: 38.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.5369, allocations: 17.66 kB / 0.7458 GB, free: 38.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.5369, allocations: 11.81 kB / 0.7458 GB, free: 38.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007934/0.5377, allocations: 1.095 MB / 0.7469 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.538, allocations: 220.1 kB / 0.7471 GB, free: 37.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-05/0.5381, allocations: 28.92 kB / 0.7471 GB, free: 37.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.5385, allocations: 62.36 kB / 0.7472 GB, free: 37.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.5386, allocations: 69.62 kB / 0.7472 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/0.5387, allocations: 33.56 kB / 0.7473 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003828/0.539, allocations: 494.6 kB / 0.7477 GB, free: 37.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.539, allocations: 0 / 0.7477 GB, free: 37.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008675/0.5399, allocations: 335.1 kB / 0.7481 GB, free: 37.52 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.000464/0.5404, allocations: 332.7 kB / 0.7484 GB, free: 37.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006941/0.5411, allocations: 498 kB / 0.7488 GB, free: 37.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5411, allocations: 3.812 kB / 0.7489 GB, free: 37.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.5414, allocations: 299.8 kB / 0.7491 GB, free: 37.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.5425, allocations: 423.7 kB / 0.7495 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.5447, allocations: 1.818 MB / 0.7513 GB, free: 36.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.5448, allocations: 221.4 kB / 0.7515 GB, free: 35.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005729/0.5454, allocations: 215.9 kB / 0.7517 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.5456, allocations: 66.17 kB / 0.7518 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/0.5456, allocations: 3.219 kB / 0.7518 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.02001/0.5656, allocations: 18.1 MB / 0.7695 GB, free: 33.74 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.777952644042671]