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.001304/0.001304, 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.0009475/0.0009475, allocations: 173 kB / 23.02 MB, free: 1.547 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.9051/0.9051, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7556/0.7556, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.563e-06/1.563e-06, allocations: 0 / 0.5203 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.607e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.172 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1458/0.1458, allocations: 153.6 MB / 0.6703 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00688/0.1527, allocations: 4.898 MB / 0.6751 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.1539, allocations: 67.38 kB / 0.6752 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.155, allocations: 416.8 kB / 0.6756 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.1575, allocations: 1.255 MB / 0.6768 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.1601, allocations: 1.581 MB / 0.6783 GB, free: 20 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.2627/0.4229, allocations: 2.966 MB / 0.6812 GB, free: 49.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.4241, allocations: 0.746 MB / 0.682 GB, free: 49.2 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002862/0.427, allocations: 1.528 MB / 0.6835 GB, free: 49.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.428, allocations: 0.6814 MB / 0.6841 GB, free: 49.2 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.4282, allocations: 96.72 kB / 0.6842 GB, free: 49.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.4295, allocations: 0.7189 MB / 0.6849 GB, free: 49.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.4298, allocations: 386.2 kB / 0.6853 GB, free: 49.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004963/0.4303, allocations: 389.5 kB / 0.6857 GB, free: 49.2 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.432, allocations: 1.378 MB / 0.687 GB, free: 49.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.432, allocations: 0 / 0.687 GB, free: 49.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.432, allocations: 7.469 kB / 0.687 GB, free: 49.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.4321, allocations: 0 / 0.687 GB, free: 49.18 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.002119/0.4342, allocations: 1.587 MB / 0.6886 GB, free: 48.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4342, allocations: 13.84 kB / 0.6886 GB, free: 48.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.4353, allocations: 0.4885 MB / 0.689 GB, free: 48.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008252/0.4362, allocations: 0.9197 MB / 0.6899 GB, free: 47.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/0.4362, allocations: 58.25 kB / 0.69 GB, free: 47.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.4363, allocations: 71.38 kB / 0.6901 GB, free: 47.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009836/0.4373, allocations: 0.8582 MB / 0.6909 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.4373, allocations: 0.6875 kB / 0.6909 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.4373, allocations: 31.97 kB / 0.6909 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.4374, allocations: 35.2 kB / 0.691 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.438, allocations: 419.4 kB / 0.6914 GB, free: 47.59 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.00261/0.4406, allocations: 2.754 MB / 0.6941 GB, free: 46.42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.4412, allocations: 343.2 kB / 0.6944 GB, free: 46.35 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.4414, allocations: 175 kB / 0.6946 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.4416, allocations: 41.81 kB / 0.6946 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004048/0.442, allocations: 455.3 kB / 0.695 GB, free: 46.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 2.524e-06/0.442, allocations: 0 / 0.695 GB, free: 46.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.001046/0.4431, allocations: 0.6454 MB / 0.6957 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.4431, allocations: 140.9 kB / 0.6958 GB, free: 45.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006549/0.4437, allocations: 0.7955 MB / 0.6966 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.4438, allocations: 39.92 kB / 0.6966 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.444, allocations: 0.4979 MB / 0.6971 GB, free: 45.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/0.4441, allocations: 208.5 kB / 0.6973 GB, free: 45.08 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.4443, allocations: 148.8 kB / 0.6974 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.576e-05/0.4443, allocations: 0.4984 MB / 0.6979 GB, free: 44.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.4445, allocations: 135.2 kB / 0.698 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.4449, allocations: 0.6001 MB / 0.6986 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.4453, allocations: 451.5 kB / 0.6991 GB, free: 43.72 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4453, allocations: 0 / 0.6991 GB, free: 43.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007516/0.4461, allocations: 0.5824 MB / 0.6996 GB, free: 43.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.4461, allocations: 43.16 kB / 0.6997 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4461, allocations: 3.594 kB / 0.6997 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.4461, allocations: 5.5 kB / 0.6997 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.4466, allocations: 151.5 kB / 0.6998 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.4466, allocations: 19.81 kB / 0.6998 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.4471, allocations: 145.4 kB / 0.7 GB, free: 43.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/0.4471, allocations: 34 kB / 0.7 GB, free: 43.51 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.0002032/0.4473, allocations: 230 kB / 0.7002 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.4475, allocations: 123.2 kB / 0.7004 GB, free: 43.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007207/0.4482, allocations: 0.5706 MB / 0.7009 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.4482, allocations: 5.25 kB / 0.7009 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4482, allocations: 6.781 kB / 0.7009 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.4482, allocations: 3.938 kB / 0.7009 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.4502, allocations: 2.058 MB / 0.7029 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4502, allocations: 8.594 kB / 0.7029 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.4504, allocations: 108.9 kB / 0.703 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.4504, allocations: 8.688 kB / 0.7031 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.4505, allocations: 30.3 kB / 0.7031 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.4505, allocations: 16.03 kB / 0.7031 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.4505, allocations: 16.66 kB / 0.7031 GB, free: 42.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.4514, allocations: 1.083 MB / 0.7042 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.4516, allocations: 220.1 kB / 0.7044 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.779e-05/0.4517, allocations: 24 kB / 0.7044 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.4521, allocations: 62.67 kB / 0.7045 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/0.4522, allocations: 70.86 kB / 0.7045 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.4522, allocations: 35.12 kB / 0.7046 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00037/0.4526, allocations: 494.2 kB / 0.705 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4526, allocations: 0 / 0.705 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007829/0.4534, allocations: 299.5 kB / 0.7053 GB, free: 41.11 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.0004256/0.4538, allocations: 221.2 kB / 0.7055 GB, free: 41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007164/0.4545, allocations: 499.6 kB / 0.706 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.4545, allocations: 2.625 kB / 0.706 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.4548, allocations: 302 kB / 0.7063 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.001157/0.456, allocations: 414.2 kB / 0.7067 GB, free: 40.74 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.4583, allocations: 1.825 MB / 0.7085 GB, free: 39.65 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.4584, allocations: 220.3 kB / 0.7087 GB, free: 39.58 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005855/0.459, allocations: 214.7 kB / 0.7089 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.4591, allocations: 66.56 kB / 0.709 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of SimCode: time 2.084e-06/0.4591, allocations: 0 / 0.709 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of Templates: time 0.02293/0.4821, allocations: 17.88 MB / 0.7264 GB, free: 37.66 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.635265317745507]