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.001488/0.001488, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001879/0.001879, allocations: 169 kB / 24.06 MB, free: 456 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.9536/0.9536, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.7593/0.7593, allocations: 154.6 MB / 415.6 MB, free: 0.5273 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.824e-06/1.824e-06, allocations: 0 / 0.5215 GB, free: 1.922 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.832e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1297/0.1297, allocations: 150.7 MB / 0.6687 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.008144/0.1379, allocations: 4.872 MB / 0.6735 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.1391, allocations: 59.44 kB / 0.6736 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009134/0.14, allocations: 412.9 kB / 0.674 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.1423, allocations: 1.255 MB / 0.6752 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.1447, allocations: 1.581 MB / 0.6767 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.2563/0.401, allocations: 2.967 MB / 0.6796 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.4023, allocations: 0.7505 MB / 0.6804 GB, free: 49.42 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002682/0.405, allocations: 1.524 MB / 0.6818 GB, free: 49.42 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.406, allocations: 0.6795 MB / 0.6825 GB, free: 49.42 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.4062, allocations: 98.28 kB / 0.6826 GB, free: 49.42 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.4074, allocations: 0.7202 MB / 0.6833 GB, free: 49.42 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.4077, allocations: 395.1 kB / 0.6837 GB, free: 49.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004295/0.4081, allocations: 388.6 kB / 0.684 GB, free: 49.42 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.4099, allocations: 1.371 MB / 0.6854 GB, free: 49.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4099, allocations: 0 / 0.6854 GB, free: 49.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4099, allocations: 0.9062 kB / 0.6854 GB, free: 49.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.158e-05/0.4099, allocations: 0 / 0.6854 GB, free: 49.41 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.001952/0.4119, allocations: 1.607 MB / 0.687 GB, free: 48.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.4119, allocations: 13.03 kB / 0.687 GB, free: 48.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.4131, allocations: 0.4916 MB / 0.6874 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008276/0.4139, allocations: 0.9034 MB / 0.6883 GB, free: 48.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.414, allocations: 55.03 kB / 0.6884 GB, free: 48.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.576e-05/0.414, allocations: 70.59 kB / 0.6885 GB, free: 48.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008092/0.4149, allocations: 0.8092 MB / 0.6892 GB, free: 47.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4149, allocations: 0.625 kB / 0.6892 GB, free: 47.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.4149, allocations: 28.47 kB / 0.6893 GB, free: 47.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.4149, allocations: 32.06 kB / 0.6893 GB, free: 47.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.4154, allocations: 344.4 kB / 0.6896 GB, free: 47.8 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.002385/0.4178, allocations: 2.613 MB / 0.6922 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.4182, allocations: 313.7 kB / 0.6925 GB, free: 46.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.4183, allocations: 154 kB / 0.6926 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.4184, allocations: 44.39 kB / 0.6927 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003067/0.4188, allocations: 431.1 kB / 0.6931 GB, free: 46.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 1.703e-06/0.4188, allocations: 0 / 0.6931 GB, free: 46.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.0007704/0.4195, allocations: 0.593 MB / 0.6937 GB, free: 46.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.4196, allocations: 141.6 kB / 0.6938 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.4201, allocations: 0.7766 MB / 0.6946 GB, free: 45.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.4201, allocations: 39.73 kB / 0.6946 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.4203, allocations: 0.5063 MB / 0.6951 GB, free: 45.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.4204, allocations: 205.4 kB / 0.6953 GB, free: 45.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.4205, allocations: 148.8 kB / 0.6954 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.911e-05/0.4206, allocations: 0.5103 MB / 0.6959 GB, free: 44.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.4207, allocations: 106.8 kB / 0.696 GB, free: 44.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.421, allocations: 0.5816 MB / 0.6966 GB, free: 44.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.4213, allocations: 410.4 kB / 0.697 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4213, allocations: 0 / 0.697 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005962/0.4219, allocations: 0.5414 MB / 0.6975 GB, free: 43.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.4219, allocations: 40.19 kB / 0.6975 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.4219, allocations: 3.938 kB / 0.6976 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4219, allocations: 6.688 kB / 0.6976 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.4223, allocations: 156.5 kB / 0.6977 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4223, allocations: 9.125 kB / 0.6977 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.4227, allocations: 148 kB / 0.6979 GB, free: 43.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.4228, allocations: 34.91 kB / 0.6979 GB, free: 43.76 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.0001765/0.423, allocations: 226.3 kB / 0.6981 GB, free: 43.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.4231, allocations: 116.6 kB / 0.6982 GB, free: 43.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005718/0.4236, allocations: 0.5375 MB / 0.6987 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.4236, allocations: 8.5 kB / 0.6988 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.4236, allocations: 3.781 kB / 0.6988 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.4236, allocations: 3.375 kB / 0.6988 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.4252, allocations: 1.889 MB / 0.7006 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.944e-06/0.4252, allocations: 8.344 kB / 0.7006 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.4255, allocations: 111.6 kB / 0.7007 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4255, allocations: 12.19 kB / 0.7007 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.4255, allocations: 29 kB / 0.7008 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/0.4255, allocations: 16.38 kB / 0.7008 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.4255, allocations: 15.25 kB / 0.7008 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.4261, allocations: 1.044 MB / 0.7018 GB, free: 41.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.4264, allocations: 217.4 kB / 0.702 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.978e-05/0.4265, allocations: 20.81 kB / 0.702 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.4268, allocations: 64.12 kB / 0.7021 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.4269, allocations: 62.72 kB / 0.7022 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.427, allocations: 38.22 kB / 0.7022 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002449/0.4272, allocations: 460 kB / 0.7026 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4272, allocations: 2.656 kB / 0.7026 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007065/0.4279, allocations: 299.8 kB / 0.7029 GB, free: 41.39 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.0002926/0.4282, allocations: 220.3 kB / 0.7031 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004917/0.4287, allocations: 458.3 kB / 0.7036 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4287, allocations: 2.969 kB / 0.7036 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.4289, allocations: 284.8 kB / 0.7038 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.43, allocations: 416.3 kB / 0.7042 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.432, allocations: 1.812 MB / 0.706 GB, free: 39.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.4321, allocations: 221.6 kB / 0.7062 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004876/0.4326, allocations: 148.8 kB / 0.7064 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006505/0.4333, allocations: 414.7 kB / 0.7068 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of SimCode: time 1.703e-06/0.4333, allocations: 1.203 kB / 0.7068 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.02309/0.4564, allocations: 18.27 MB / 0.7246 GB, free: 37.95 MB / 0.6355 GB " [Timeout remaining time 660] 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.543779798783362]