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.001332/0.001332, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001434/0.001434, allocations: 166.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.404/1.404, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 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-531:190: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-531:198: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.213/1.213, allocations: 154.5 MB / 413.7 MB, free: 5.293 MB / 382.1 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.563e-06/1.563e-06, allocations: 0 / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.783e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5503/0.5504, allocations: 171.7 MB / 0.7862 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.5616, allocations: 6.602 MB / 0.7927 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.5629, allocations: 63.81 kB / 0.7927 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.5647, allocations: 0.6943 MB / 0.7934 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006719/0.5714, allocations: 2.474 MB / 0.7958 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.5754, allocations: 1.602 MB / 0.7974 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004544/0.58, allocations: 3.015 MB / 0.8003 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.5814, allocations: 0.7067 MB / 0.801 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004787/0.5862, allocations: 1.975 MB / 0.8029 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.5877, allocations: 0.7114 MB / 0.8036 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.5879, allocations: 99.06 kB / 0.8037 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004153/0.5921, allocations: 1.68 MB / 0.8054 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006528/0.5927, allocations: 395.7 kB / 0.8058 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008655/0.5936, allocations: 396.6 kB / 0.8061 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007625/0.6012, allocations: 2.45 MB / 0.8085 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.6012, allocations: 3.984 kB / 0.8085 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6012, allocations: 0 / 0.8085 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.547e-05/0.6013, allocations: 3.094 kB / 0.8085 GB, free: 15.5 MB / 0.6544 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.004513/0.6058, allocations: 1.578 MB / 0.8101 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.6058, allocations: 9.344 kB / 0.8101 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/0.609, allocations: 0.5472 MB / 0.8106 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/0.6116, allocations: 0.9753 MB / 0.8116 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.339e-05/0.6117, allocations: 50.84 kB / 0.8116 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.6118, allocations: 71.97 kB / 0.8117 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/0.6145, allocations: 1.236 MB / 0.8129 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.6146, allocations: 0 / 0.8129 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.854e-05/0.6147, allocations: 27.75 kB / 0.8129 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.099e-05/0.6147, allocations: 35.92 kB / 0.813 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00312/0.6178, allocations: 1.193 MB / 0.8141 GB, free: 11.84 MB / 0.6544 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.005704/0.6235, allocations: 2.706 MB / 0.8168 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.6254, allocations: 0.6886 MB / 0.8174 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009258/0.6263, allocations: 419.8 kB / 0.8178 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005096/0.6268, allocations: 136.4 kB / 0.818 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/0.6281, allocations: 0.6473 MB / 0.8186 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 2.214e-06/0.6281, allocations: 3.938 kB / 0.8186 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.003325/0.6314, allocations: 1.265 MB / 0.8198 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.6315, allocations: 144.8 kB / 0.82 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.6331, allocations: 0.8761 MB / 0.8208 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.245e-05/0.6332, allocations: 41.7 kB / 0.8209 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.6337, allocations: 464.5 kB / 0.8213 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.6339, allocations: 194.3 kB / 0.8215 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.6342, allocations: 142.2 kB / 0.8216 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.6343, allocations: 333.9 kB / 0.822 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.6357, allocations: 470.7 kB / 0.8224 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.6375, allocations: 0.9746 MB / 0.8234 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.6398, allocations: 0.9373 MB / 0.8243 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6398, allocations: 0 / 0.8243 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003456/0.6433, allocations: 1.219 MB / 0.8255 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/0.6433, allocations: 41.64 kB / 0.8255 GB, free: 480 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.6433, allocations: 4 kB / 0.8255 GB, free: 476 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.6434, allocations: 8 kB / 0.8255 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.6444, allocations: 187.8 kB / 0.8257 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.6444, allocations: 7.984 kB / 0.8257 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.6459, allocations: 215.4 kB / 0.8259 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.646, allocations: 43.97 kB / 0.8259 GB, free: 12 kB / 0.6544 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.0006018/0.6466, allocations: 332.3 kB / 0.8263 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.6468, allocations: 99.36 kB / 0.8264 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.6491, allocations: 1.008 MB / 0.8273 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.6491, allocations: 4 kB / 0.8273 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6492, allocations: 0 / 0.8273 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.6492, allocations: 8.5 kB / 0.8274 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005352/0.6545, allocations: 2.926 MB / 0.8302 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.6545, allocations: 8 kB / 0.8302 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/0.6552, allocations: 116 kB / 0.8303 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.386e-05/0.6552, allocations: 15.98 kB / 0.8303 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-05/0.6552, allocations: 31.92 kB / 0.8304 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/0.6553, allocations: 11.94 kB / 0.8304 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.387e-06/0.6553, allocations: 15.94 kB / 0.8304 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.6579, allocations: 1.349 MB / 0.8317 GB, free: 9.805 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/0.6584, allocations: 223.1 kB / 0.8319 GB, free: 9.586 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.6586, allocations: 32.42 kB / 0.832 GB, free: 9.555 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.6597, allocations: 95.91 kB / 0.8321 GB, free: 9.461 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.6598, allocations: 67.73 kB / 0.8321 GB, free: 9.395 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.134e-05/0.6599, allocations: 47.97 kB / 0.8322 GB, free: 9.348 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001403/0.6613, allocations: 0.6278 MB / 0.8328 GB, free: 8.727 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.6613, allocations: 0 / 0.8328 GB, free: 8.727 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001359/0.6627, allocations: 331.2 kB / 0.8331 GB, free: 8.402 MB / 0.67 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.0007799/0.6634, allocations: 345.6 kB / 0.8334 GB, free: 8.059 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002864/0.6663, allocations: 1.04 MB / 0.8344 GB, free: 6.988 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.6663, allocations: 0 / 0.8344 GB, free: 6.988 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.6674, allocations: 0.5096 MB / 0.8349 GB, free: 6.465 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.6696, allocations: 379.1 kB / 0.8353 GB, free: 6.117 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.6739, allocations: 2.016 MB / 0.8373 GB, free: 3.965 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/0.6746, allocations: 489.6 kB / 0.8377 GB, free: 3.457 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009136/0.6755, allocations: 237.5 kB / 0.838 GB, free: 3.227 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.6757, allocations: 72.47 kB / 0.838 GB, free: 3.152 MB / 0.67 GB Notification: Performance of SimCode: time 1.462e-06/0.6757, allocations: 0 / 0.838 GB, free: 3.152 MB / 0.67 GB Notification: Performance of Templates: time 0.0327/0.7084, allocations: 17.83 MB / 0.8554 GB, free: 1.676 MB / 0.6856 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.888881478458643] Failed to read output from testmodel.py, exit status != 0: 0.7178589813411236 0.732449023 0.128055877 Calling exit ...