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.001238/0.001238, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009725/0.0009725, allocations: 169 kB / 23.02 MB, free: 1.551 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.962/0.962, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.7718/0.7718, allocations: 154.6 MB / 414.5 MB, free: 0.6914 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 2.083e-06/2.083e-06, allocations: 0 / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.269e-05/3.477e-05, allocations: 3.188 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1402/0.1403, allocations: 153.6 MB / 0.6703 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007112/0.1474, allocations: 4.889 MB / 0.6751 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.1487, allocations: 67.38 kB / 0.6752 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.1497, allocations: 416.8 kB / 0.6756 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.1523, allocations: 1.255 MB / 0.6768 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.1551, allocations: 1.572 MB / 0.6783 GB, free: 64 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.2925/0.4475, allocations: 2.97 MB / 0.6812 GB, free: 49.22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.4486, allocations: 0.7503 MB / 0.682 GB, free: 49.19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.4506, allocations: 1.331 MB / 0.6833 GB, free: 49.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.4517, allocations: 0.724 MB / 0.684 GB, free: 49.19 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.4519, allocations: 99.31 kB / 0.6841 GB, free: 49.19 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.4531, allocations: 0.8137 MB / 0.6848 GB, free: 49.19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.4534, allocations: 395.5 kB / 0.6852 GB, free: 49.19 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004764/0.4538, allocations: 399.8 kB / 0.6856 GB, free: 49.19 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.4556, allocations: 1.416 MB / 0.687 GB, free: 49.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4556, allocations: 4.469 kB / 0.687 GB, free: 49.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.552e-06/0.4556, allocations: 0 / 0.687 GB, free: 49.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.955e-05/0.4556, allocations: 5.656 kB / 0.687 GB, free: 49.17 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.002087/0.4577, allocations: 1.609 MB / 0.6886 GB, free: 48.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.4578, allocations: 8.688 kB / 0.6886 GB, free: 48.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.459, allocations: 0.5076 MB / 0.6891 GB, free: 48.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.4604, allocations: 0.9967 MB / 0.69 GB, free: 47.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/0.4604, allocations: 54.5 kB / 0.6901 GB, free: 47.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.582e-05/0.4605, allocations: 73.64 kB / 0.6902 GB, free: 47.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.4615, allocations: 0.8554 MB / 0.691 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.4616, allocations: 1.281 kB / 0.691 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.794e-05/0.4616, allocations: 28.72 kB / 0.691 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.4617, allocations: 35.95 kB / 0.6911 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007009/0.4624, allocations: 418.9 kB / 0.6915 GB, free: 47.57 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.002684/0.465, allocations: 2.735 MB / 0.6941 GB, free: 46.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/0.4657, allocations: 349.5 kB / 0.6945 GB, free: 46.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.4659, allocations: 172.6 kB / 0.6946 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.466, allocations: 44.95 kB / 0.6947 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003845/0.4664, allocations: 450.3 kB / 0.6951 GB, free: 46.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 1.944e-06/0.4664, allocations: 0 / 0.6951 GB, free: 46.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.001021/0.4674, allocations: 0.6465 MB / 0.6957 GB, free: 45.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.4675, allocations: 142.5 kB / 0.6959 GB, free: 45.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006649/0.4681, allocations: 0.7961 MB / 0.6967 GB, free: 45.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.4682, allocations: 39.02 kB / 0.6967 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.4684, allocations: 0.5007 MB / 0.6972 GB, free: 45.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/0.4685, allocations: 203.2 kB / 0.6974 GB, free: 45.06 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.4686, allocations: 154.8 kB / 0.6975 GB, free: 45.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.636e-05/0.4687, allocations: 0.5031 MB / 0.698 GB, free: 44.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.4689, allocations: 127 kB / 0.6981 GB, free: 44.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.4692, allocations: 0.6722 MB / 0.6988 GB, free: 43.85 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.4697, allocations: 453.6 kB / 0.6992 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4697, allocations: 0.625 kB / 0.6992 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007515/0.4705, allocations: 0.5799 MB / 0.6998 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.4705, allocations: 37.02 kB / 0.6998 GB, free: 43.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.4705, allocations: 9.531 kB / 0.6998 GB, free: 43.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4705, allocations: 5.625 kB / 0.6998 GB, free: 43.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.4709, allocations: 154.2 kB / 0.7 GB, free: 43.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.4709, allocations: 13.53 kB / 0.7 GB, free: 43.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/0.4714, allocations: 150.1 kB / 0.7001 GB, free: 43.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.4715, allocations: 37.3 kB / 0.7002 GB, free: 43.4 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.0001972/0.4717, allocations: 235.5 kB / 0.7004 GB, free: 43.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.4718, allocations: 117 kB / 0.7005 GB, free: 43.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006948/0.4725, allocations: 0.5664 MB / 0.7011 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.4725, allocations: 9.531 kB / 0.7011 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4725, allocations: 3.938 kB / 0.7011 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.4725, allocations: 3.375 kB / 0.7011 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.4744, allocations: 2.064 MB / 0.7031 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.4744, allocations: 5.688 kB / 0.7031 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.4746, allocations: 105.5 kB / 0.7032 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.4746, allocations: 9.719 kB / 0.7032 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.4747, allocations: 29.7 kB / 0.7032 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.4747, allocations: 15.42 kB / 0.7033 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4747, allocations: 11.69 kB / 0.7033 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007582/0.4754, allocations: 1.092 MB / 0.7043 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.4757, allocations: 225.3 kB / 0.7045 GB, free: 41.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.4758, allocations: 24.47 kB / 0.7046 GB, free: 41.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.4762, allocations: 62.92 kB / 0.7046 GB, free: 41.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.4763, allocations: 65.12 kB / 0.7047 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.4763, allocations: 42.98 kB / 0.7047 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000368/0.4767, allocations: 495.2 kB / 0.7052 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4767, allocations: 0 / 0.7052 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006701/0.4773, allocations: 299.2 kB / 0.7055 GB, free: 41 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.0003107/0.4776, allocations: 212.2 kB / 0.7057 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006216/0.4783, allocations: 0.4915 MB / 0.7062 GB, free: 40.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4783, allocations: 2.625 kB / 0.7062 GB, free: 40.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.4786, allocations: 295.3 kB / 0.7065 GB, free: 40.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.4797, allocations: 406 kB / 0.7068 GB, free: 40.65 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.4817, allocations: 1.833 MB / 0.7086 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.4819, allocations: 220.8 kB / 0.7088 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005327/0.4824, allocations: 219.3 kB / 0.7091 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.4826, allocations: 69.72 kB / 0.7091 GB, free: 39.47 MB / 0.6355 GB Notification: Performance of SimCode: time 1.463e-06/0.4826, allocations: 0 / 0.7091 GB, free: 39.47 MB / 0.6355 GB Notification: Performance of Templates: time 0.02208/0.5047, allocations: 16.45 MB / 0.7252 GB, free: 37.86 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.583481315989047]