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.0009122/0.0009122, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0009112/0.0009112, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8924/0.8924, allocations: 177.1 MB / 203.5 MB, free: 5.73 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-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 0.7259/0.7259, allocations: 154.6 MB / 414.5 MB, free: 0.8164 MB / 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.182e-06/1.182e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.501e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4852/0.4852, allocations: 171.7 MB / 0.787 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.008186/0.4934, allocations: 6.61 MB / 0.7934 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.4946, allocations: 73.03 kB / 0.7935 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.4959, allocations: 0.6834 MB / 0.7941 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004636/0.5005, allocations: 2.476 MB / 0.7966 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.5034, allocations: 1.599 MB / 0.7981 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00296/0.5063, allocations: 3.016 MB / 0.8011 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007742/0.5071, allocations: 0.7105 MB / 0.8018 GB, free: 256 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.5097, allocations: 1.969 MB / 0.8037 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007065/0.5104, allocations: 0.7145 MB / 0.8044 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 9.804e-05/0.5105, allocations: 99.81 kB / 0.8045 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.5131, allocations: 1.679 MB / 0.8061 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.5133, allocations: 399.5 kB / 0.8065 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.5136, allocations: 393.2 kB / 0.8069 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.5158, allocations: 2.455 MB / 0.8093 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5158, allocations: 0 / 0.8093 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5158, allocations: 0 / 0.8093 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.5158, allocations: 0 / 0.8093 GB, free: 12.49 MB / 0.6667 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.002039/0.5178, allocations: 1.578 MB / 0.8108 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.5179, allocations: 16.48 kB / 0.8108 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.5193, allocations: 0.541 MB / 0.8114 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.5208, allocations: 0.9677 MB / 0.8123 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.5209, allocations: 54.88 kB / 0.8124 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.162e-05/0.521, allocations: 71.94 kB / 0.8124 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.5226, allocations: 1.232 MB / 0.8136 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.5226, allocations: 3.938 kB / 0.8136 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.5227, allocations: 32.56 kB / 0.8137 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.5227, allocations: 35.77 kB / 0.8137 GB, free: 9.43 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.5244, allocations: 1.185 MB / 0.8149 GB, free: 8.84 MB / 0.6667 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.002982/0.5274, allocations: 2.705 MB / 0.8175 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009676/0.5284, allocations: 0.6779 MB / 0.8182 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.5288, allocations: 428.7 kB / 0.8186 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004071/0.5293, allocations: 132.2 kB / 0.8187 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006477/0.5299, allocations: 0.6475 MB / 0.8193 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 2.054e-06/0.5299, allocations: 0 / 0.8193 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.001645/0.5316, allocations: 1.269 MB / 0.8206 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.5316, allocations: 134.6 kB / 0.8207 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008316/0.5324, allocations: 0.8884 MB / 0.8216 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.5325, allocations: 43.36 kB / 0.8216 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.5327, allocations: 464.2 kB / 0.822 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.5329, allocations: 194.6 kB / 0.8222 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.533, allocations: 146.3 kB / 0.8224 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.5331, allocations: 329.4 kB / 0.8227 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/0.5338, allocations: 474.9 kB / 0.8231 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008626/0.5346, allocations: 0.9746 MB / 0.8241 GB, free: 1.945 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.5357, allocations: 0.9256 MB / 0.825 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.5357, allocations: 7.984 kB / 0.825 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001638/0.5374, allocations: 1.218 MB / 0.8262 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.5374, allocations: 41.69 kB / 0.8262 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5374, allocations: 4.875 kB / 0.8262 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.5374, allocations: 4 kB / 0.8262 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.5379, allocations: 195.9 kB / 0.8264 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.5379, allocations: 4 kB / 0.8264 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/0.5385, allocations: 222.1 kB / 0.8266 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.5386, allocations: 31.98 kB / 0.8267 GB, free: 15.22 MB / 0.6823 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.0003165/0.5389, allocations: 336.2 kB / 0.827 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/0.5393, allocations: 91.44 kB / 0.8271 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.5405, allocations: 1.012 MB / 0.8281 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.5405, allocations: 11.98 kB / 0.8281 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5405, allocations: 0.5156 kB / 0.8281 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5405, allocations: 0 / 0.8281 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/0.5434, allocations: 2.934 MB / 0.8309 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.5434, allocations: 8 kB / 0.831 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.5436, allocations: 127.6 kB / 0.8311 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/0.5437, allocations: 12 kB / 0.8311 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.5437, allocations: 27.92 kB / 0.8311 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.5437, allocations: 19.92 kB / 0.8311 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.5437, allocations: 11.94 kB / 0.8311 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.5449, allocations: 1.341 MB / 0.8325 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.5452, allocations: 224.7 kB / 0.8327 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/0.5453, allocations: 27.92 kB / 0.8327 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.5458, allocations: 103.9 kB / 0.8328 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.5459, allocations: 55.8 kB / 0.8328 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.5459, allocations: 39.97 kB / 0.8329 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006385/0.5465, allocations: 0.6434 MB / 0.8335 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5465, allocations: 0 / 0.8335 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007746/0.5473, allocations: 323.3 kB / 0.8338 GB, free: 7.617 MB / 0.6823 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.000754/0.5481, allocations: 340.6 kB / 0.8341 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.5494, allocations: 1.048 MB / 0.8352 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5494, allocations: 3.938 kB / 0.8352 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005162/0.5499, allocations: 0.5021 MB / 0.8357 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.551, allocations: 389.3 kB / 0.836 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.5532, allocations: 2.062 MB / 0.838 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.5536, allocations: 481.6 kB / 0.8385 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.5538, allocations: 76.45 kB / 0.8386 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/0.5538, allocations: 0 / 0.8386 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of Templates: time 0.01531/0.5691, allocations: 16.83 MB / 0.855 GB, free: 1.871 MB / 0.698 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: 7.153617291711271] Failed to read output from testmodel.py, exit status != 0: 0.575394319370389 0.583131201 0.065656161 Calling exit ...