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.0008575/0.0008575, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009883/0.0009883, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9532/0.9532, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7606/0.7606, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.543e-06/1.543e-06, allocations: 0 / 0.5208 GB, free: 1.844 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.454e-05, allocations: 8.281 kB / 0.5208 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1327/0.1327, allocations: 150.7 MB / 0.668 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006931/0.1396, allocations: 4.863 MB / 0.6727 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.1409, allocations: 67.38 kB / 0.6728 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.1421, allocations: 416.8 kB / 0.6732 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.1447, allocations: 1.259 MB / 0.6744 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.1472, allocations: 1.576 MB / 0.676 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.264/0.4112, allocations: 2.968 MB / 0.6789 GB, free: 49.39 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.4123, allocations: 0.7442 MB / 0.6796 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.4146, allocations: 1.532 MB / 0.6811 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007349/0.4153, allocations: 0.6767 MB / 0.6817 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.4154, allocations: 95.03 kB / 0.6818 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.4165, allocations: 0.7218 MB / 0.6825 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.4168, allocations: 387 kB / 0.6829 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.4171, allocations: 389.5 kB / 0.6833 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.4186, allocations: 1.377 MB / 0.6846 GB, free: 49.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4186, allocations: 0.5312 kB / 0.6846 GB, free: 49.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4186, allocations: 0 / 0.6846 GB, free: 49.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.4186, allocations: 1.688 kB / 0.6846 GB, free: 49.36 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.001798/0.4204, allocations: 1.604 MB / 0.6862 GB, free: 48.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.4205, allocations: 10.97 kB / 0.6862 GB, free: 48.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.4215, allocations: 0.495 MB / 0.6867 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007914/0.4223, allocations: 0.9049 MB / 0.6876 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.4223, allocations: 55.73 kB / 0.6876 GB, free: 48.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/0.4224, allocations: 70.06 kB / 0.6877 GB, free: 48.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007868/0.4232, allocations: 0.8119 MB / 0.6885 GB, free: 47.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4232, allocations: 0 / 0.6885 GB, free: 47.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/0.4233, allocations: 27.34 kB / 0.6885 GB, free: 47.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.4233, allocations: 31.28 kB / 0.6885 GB, free: 47.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.4237, allocations: 345.8 kB / 0.6889 GB, free: 47.75 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.002338/0.426, allocations: 2.609 MB / 0.6914 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.4265, allocations: 315.3 kB / 0.6917 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.4266, allocations: 156.5 kB / 0.6919 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.4267, allocations: 56.86 kB / 0.6919 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.4271, allocations: 430.4 kB / 0.6923 GB, free: 46.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 1.643e-06/0.4271, allocations: 3.625 kB / 0.6923 GB, free: 46.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.0007749/0.4278, allocations: 0.5866 MB / 0.6929 GB, free: 46.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.4279, allocations: 143.5 kB / 0.693 GB, free: 45.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.4284, allocations: 0.7736 MB / 0.6938 GB, free: 45.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.4284, allocations: 35.36 kB / 0.6938 GB, free: 45.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.4286, allocations: 0.5103 MB / 0.6943 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.23e-05/0.4287, allocations: 204.9 kB / 0.6945 GB, free: 45.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.4289, allocations: 152.4 kB / 0.6947 GB, free: 45.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.4289, allocations: 0.5056 MB / 0.6952 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.4291, allocations: 110.5 kB / 0.6953 GB, free: 44.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.4293, allocations: 0.5859 MB / 0.6958 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.4296, allocations: 407.4 kB / 0.6962 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4296, allocations: 1.203 kB / 0.6962 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005842/0.4302, allocations: 0.5348 MB / 0.6967 GB, free: 43.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.4302, allocations: 41.39 kB / 0.6968 GB, free: 43.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4302, allocations: 4.75 kB / 0.6968 GB, free: 43.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4303, allocations: 5.938 kB / 0.6968 GB, free: 43.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.4306, allocations: 157.7 kB / 0.6969 GB, free: 43.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4306, allocations: 9.25 kB / 0.697 GB, free: 43.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.431, allocations: 148.9 kB / 0.6971 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.4311, allocations: 33.88 kB / 0.6971 GB, free: 43.71 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.0001774/0.4313, allocations: 228.5 kB / 0.6973 GB, free: 43.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.4314, allocations: 121.5 kB / 0.6975 GB, free: 43.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/0.4319, allocations: 0.5363 MB / 0.698 GB, free: 43.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.4319, allocations: 5.719 kB / 0.698 GB, free: 43.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4319, allocations: 1 kB / 0.698 GB, free: 43.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.432, allocations: 6.156 kB / 0.698 GB, free: 43.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.4335, allocations: 1.89 MB / 0.6998 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4335, allocations: 6.188 kB / 0.6999 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.4337, allocations: 103.8 kB / 0.7 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.4338, allocations: 14.12 kB / 0.7 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.4338, allocations: 25.56 kB / 0.7 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.333e-06/0.4338, allocations: 18.2 kB / 0.7 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.4338, allocations: 19.45 kB / 0.7 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.4344, allocations: 1.045 MB / 0.701 GB, free: 41.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.4346, allocations: 219.2 kB / 0.7013 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/0.4347, allocations: 25.47 kB / 0.7013 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.435, allocations: 64.27 kB / 0.7013 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.4351, allocations: 58.28 kB / 0.7014 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.4351, allocations: 37.56 kB / 0.7014 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002304/0.4354, allocations: 464 kB / 0.7019 GB, free: 41.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4354, allocations: 0 / 0.7019 GB, free: 41.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006235/0.436, allocations: 295.6 kB / 0.7022 GB, free: 41.34 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.000267/0.4363, allocations: 220.7 kB / 0.7024 GB, free: 41.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.4367, allocations: 460.3 kB / 0.7028 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4367, allocations: 3.625 kB / 0.7028 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.437, allocations: 283.8 kB / 0.7031 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.438, allocations: 418 kB / 0.7035 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.4398, allocations: 1.813 MB / 0.7052 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.4399, allocations: 221.2 kB / 0.7055 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004619/0.4404, allocations: 148 kB / 0.7056 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006367/0.441, allocations: 412.7 kB / 0.706 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of SimCode: time 1.292e-06/0.441, allocations: 0.9375 kB / 0.706 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of Templates: time 0.02524/0.4663, allocations: 18.01 MB / 0.7236 GB, free: 37.97 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.430241669993848]