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.0009267/0.0009267, allocations: 73.97 kB / 20.66 MB, free: 3.84 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.0009367/0.0009367, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9813/0.9813, allocations: 177.1 MB / 204.5 MB, free: 5.152 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.7702/0.7702, allocations: 154.9 MB / 415.9 MB, free: 188 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.453e-06/1.453e-06, allocations: 0 / 0.5219 GB, free: 1.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.885e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.156/0.1561, allocations: 150.7 MB / 0.6691 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005947/0.162, allocations: 4.852 MB / 0.6738 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006816/0.1627, allocations: 67.38 kB / 0.6739 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000756/0.1634, allocations: 420.8 kB / 0.6743 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.1654, allocations: 1.251 MB / 0.6755 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.1676, allocations: 1.572 MB / 0.6771 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.2686/0.4362, allocations: 2.975 MB / 0.68 GB, free: 49.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.4375, allocations: 0.7467 MB / 0.6807 GB, free: 49.13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.4401, allocations: 1.538 MB / 0.6822 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009418/0.4411, allocations: 0.6796 MB / 0.6829 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.4412, allocations: 95.5 kB / 0.683 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.4423, allocations: 0.7218 MB / 0.6837 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.4426, allocations: 384.2 kB / 0.684 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004148/0.443, allocations: 386.9 kB / 0.6844 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.4445, allocations: 1.375 MB / 0.6857 GB, free: 49.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4445, allocations: 1.25 kB / 0.6857 GB, free: 49.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.527e-06/0.4445, allocations: 0 / 0.6857 GB, free: 49.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.75e-05/0.4445, allocations: 0 / 0.6857 GB, free: 49.11 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.001943/0.4465, allocations: 1.609 MB / 0.6873 GB, free: 48.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4465, allocations: 8.531 kB / 0.6873 GB, free: 48.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.4477, allocations: 0.4969 MB / 0.6878 GB, free: 48.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008438/0.4486, allocations: 0.9046 MB / 0.6887 GB, free: 47.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.4486, allocations: 52.38 kB / 0.6887 GB, free: 47.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.4487, allocations: 70.06 kB / 0.6888 GB, free: 47.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008387/0.4495, allocations: 0.8073 MB / 0.6896 GB, free: 47.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.4495, allocations: 5.938 kB / 0.6896 GB, free: 47.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.4496, allocations: 30.3 kB / 0.6896 GB, free: 47.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.4496, allocations: 33.22 kB / 0.6897 GB, free: 47.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004578/0.4501, allocations: 342.1 kB / 0.69 GB, free: 47.51 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.002488/0.4526, allocations: 2.608 MB / 0.6925 GB, free: 46.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.4531, allocations: 320.5 kB / 0.6928 GB, free: 46.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.4532, allocations: 155.2 kB / 0.693 GB, free: 46.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.4533, allocations: 42.62 kB / 0.693 GB, free: 46.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003168/0.4536, allocations: 431.4 kB / 0.6934 GB, free: 45.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 1.814e-06/0.4536, allocations: 0 / 0.6934 GB, free: 45.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.0008388/0.4545, allocations: 0.5958 MB / 0.694 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.4545, allocations: 139 kB / 0.6942 GB, free: 45.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005886/0.4551, allocations: 0.7721 MB / 0.6949 GB, free: 45.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.4551, allocations: 43.06 kB / 0.695 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.4553, allocations: 0.5066 MB / 0.6954 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.724e-05/0.4554, allocations: 200.4 kB / 0.6956 GB, free: 45.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.4556, allocations: 154.3 kB / 0.6958 GB, free: 45.01 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.4556, allocations: 0.5061 MB / 0.6963 GB, free: 44.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.4558, allocations: 109.7 kB / 0.6964 GB, free: 44.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.4561, allocations: 0.5774 MB / 0.6969 GB, free: 43.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.4564, allocations: 416.1 kB / 0.6973 GB, free: 43.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4564, allocations: 0 / 0.6973 GB, free: 43.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006268/0.457, allocations: 0.5383 MB / 0.6979 GB, free: 43.53 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.4571, allocations: 38.25 kB / 0.6979 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4571, allocations: 2.75 kB / 0.6979 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4571, allocations: 5.75 kB / 0.6979 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.4575, allocations: 161.7 kB / 0.6981 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4575, allocations: 8.625 kB / 0.6981 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.4579, allocations: 148.5 kB / 0.6982 GB, free: 43.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.458, allocations: 30.52 kB / 0.6982 GB, free: 43.47 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.0001828/0.4582, allocations: 235.6 kB / 0.6985 GB, free: 43.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.4583, allocations: 116.5 kB / 0.6986 GB, free: 43.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00058/0.4588, allocations: 0.5279 MB / 0.6991 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.4589, allocations: 12.91 kB / 0.6991 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.4589, allocations: 1.094 kB / 0.6991 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4589, allocations: 3.328 kB / 0.6991 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.4605, allocations: 1.883 MB / 0.701 GB, free: 42.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4605, allocations: 9.734 kB / 0.701 GB, free: 42.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.4607, allocations: 111.3 kB / 0.7011 GB, free: 42.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.4607, allocations: 12.59 kB / 0.7011 GB, free: 42.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.4608, allocations: 26.52 kB / 0.7011 GB, free: 42.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.4608, allocations: 15.81 kB / 0.7011 GB, free: 42.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4608, allocations: 9.875 kB / 0.7011 GB, free: 42.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.4614, allocations: 1.049 MB / 0.7022 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.4617, allocations: 223.1 kB / 0.7024 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.844e-05/0.4617, allocations: 20.22 kB / 0.7024 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.4621, allocations: 67.56 kB / 0.7025 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.4622, allocations: 64.78 kB / 0.7025 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.4622, allocations: 36.83 kB / 0.7026 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002526/0.4625, allocations: 455 kB / 0.703 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4625, allocations: 0 / 0.703 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006524/0.4632, allocations: 300.8 kB / 0.7033 GB, free: 41.1 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.0002855/0.4634, allocations: 229.5 kB / 0.7035 GB, free: 41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000498/0.4639, allocations: 466.2 kB / 0.7039 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4639, allocations: 3.219 kB / 0.7039 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.4642, allocations: 278.5 kB / 0.7042 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.4653, allocations: 415.9 kB / 0.7046 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.4671, allocations: 1.807 MB / 0.7064 GB, free: 39.65 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.4673, allocations: 222.4 kB / 0.7066 GB, free: 39.58 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004603/0.4677, allocations: 158.2 kB / 0.7067 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006665/0.4684, allocations: 411.9 kB / 0.7071 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of SimCode: time 8.91e-07/0.4684, allocations: 0.7812 kB / 0.7071 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.02257/0.491, allocations: 18.27 MB / 0.725 GB, free: 37.65 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.541584180202335]