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.0007569/0.0007569, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.001806, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007423/0.0007423, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002283, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9454/0.9454, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1001/1.046, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.733/0.733, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2677/1.001, allocations: 49.14 MB / 448.4 MB, free: 6.012 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.533e-06/1.533e-06, allocations: 0 / 449.7 MB, free: 4.715 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.138e-05, allocations: 4.719 kB / 449.7 MB, free: 4.711 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1569/0.1569, allocations: 153.4 MB / 0.5889 GB, free: 11.25 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.007639/0.1645, allocations: 4.985 MB / 0.5938 GB, free: 6.254 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.1658, allocations: 67.38 kB / 0.5939 GB, free: 6.188 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008956/0.1667, allocations: 428.8 kB / 0.5943 GB, free: 5.766 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.1691, allocations: 1.259 MB / 0.5955 GB, free: 4.5 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.1716, allocations: 1.526 MB / 0.597 GB, free: 2.98 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003912/0.1756, allocations: 2.943 MB / 0.5999 GB, free: 28 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.1777, allocations: 0.8338 MB / 0.6007 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002589/0.1803, allocations: 1.66 MB / 0.6023 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.1813, allocations: 0.6347 MB / 0.6029 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.1815, allocations: 96 kB / 0.603 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.1828, allocations: 0.7523 MB / 0.6038 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.1831, allocations: 319 kB / 0.6041 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000457/0.1836, allocations: 323.3 kB / 0.6044 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.1852, allocations: 1.227 MB / 0.6056 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/0.1853, allocations: 0 / 0.6056 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1853, allocations: 0 / 0.6056 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.615e-05/0.1853, allocations: 0 / 0.6056 GB, free: 10.26 MB / 0.5886 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.002322/0.1876, allocations: 1.778 MB / 0.6073 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1877, allocations: 8.031 kB / 0.6073 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.1888, allocations: 487.9 kB / 0.6078 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009559/0.1898, allocations: 0.7082 MB / 0.6085 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.1898, allocations: 57.44 kB / 0.6085 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/0.1899, allocations: 72 kB / 0.6086 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/0.1908, allocations: 0.7923 MB / 0.6094 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1908, allocations: 0 / 0.6094 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/0.1909, allocations: 28 kB / 0.6094 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.1909, allocations: 37.3 kB / 0.6094 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.1914, allocations: 325.5 kB / 0.6097 GB, free: 5.836 MB / 0.5886 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.002556/0.1939, allocations: 1.924 MB / 0.6116 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/0.1945, allocations: 358.4 kB / 0.612 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.1946, allocations: 150.8 kB / 0.6121 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.1947, allocations: 40.47 kB / 0.6121 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.1951, allocations: 430 kB / 0.6126 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=57): time 2.555e-06/0.1951, allocations: 0 / 0.6126 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of matching and sorting (n=57): time 0.0007336/0.1958, allocations: 486.8 kB / 0.613 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.1959, allocations: 152.4 kB / 0.6132 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.1964, allocations: 0.6872 MB / 0.6138 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003034/0.1967, allocations: 41.7 kB / 0.6139 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1969, allocations: 346.4 kB / 0.6142 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.197, allocations: 194.2 kB / 0.6144 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.1972, allocations: 130.2 kB / 0.6145 GB, free: 0.7305 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.394e-05/0.1973, allocations: 333.9 kB / 0.6148 GB, free: 408 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.1974, allocations: 109.8 kB / 0.6149 GB, free: 292 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.1977, allocations: 0.5245 MB / 0.6154 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.198, allocations: 382.6 kB / 0.6158 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.198, allocations: 4 kB / 0.6158 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004963/0.1985, allocations: 426 kB / 0.6162 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.1986, allocations: 37.7 kB / 0.6163 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.1986, allocations: 4 kB / 0.6163 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1986, allocations: 4 kB / 0.6163 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.1992, allocations: 184 kB / 0.6164 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1992, allocations: 15.88 kB / 0.6165 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/0.1998, allocations: 139.5 kB / 0.6166 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/0.1998, allocations: 39.92 kB / 0.6166 GB, free: 14.34 MB / 0.6042 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.0002496/0.2001, allocations: 182.2 kB / 0.6168 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.2002, allocations: 71.92 kB / 0.6169 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/0.2009, allocations: 473.1 kB / 0.6173 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.2009, allocations: 8 kB / 0.6173 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2009, allocations: 3.938 kB / 0.6173 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2009, allocations: 3.984 kB / 0.6173 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.203, allocations: 1.669 MB / 0.619 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.203, allocations: 12 kB / 0.619 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.2034, allocations: 128.5 kB / 0.6191 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.2036, allocations: 159.2 kB / 0.6193 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.468e-05/0.2037, allocations: 12 kB / 0.6193 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.2037, allocations: 23.98 kB / 0.6193 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.2037, allocations: 11.94 kB / 0.6193 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.2037, allocations: 8 kB / 0.6193 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007707/0.2045, allocations: 0.9182 MB / 0.6202 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.2046, allocations: 27.98 kB / 0.6202 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.2051, allocations: 63.95 kB / 0.6203 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/0.2052, allocations: 67.67 kB / 0.6204 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/0.2052, allocations: 35.97 kB / 0.6204 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005368/0.2058, allocations: 320.5 kB / 0.6207 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2058, allocations: 0 / 0.6207 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008104/0.2066, allocations: 303.4 kB / 0.621 GB, free: 9.535 MB / 0.6042 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.0003768/0.207, allocations: 202.5 kB / 0.6212 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005992/0.2076, allocations: 435.3 kB / 0.6216 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.759e-05/0.2076, allocations: 19.94 kB / 0.6216 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.2079, allocations: 272.6 kB / 0.6219 GB, free: 8.566 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.2093, allocations: 493.8 kB / 0.6223 GB, free: 8.113 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.2233, allocations: 1.859 MB / 0.6242 GB, free: 6.109 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.2235, allocations: 220.4 kB / 0.6244 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006646/0.2242, allocations: 156.8 kB / 0.6245 GB, free: 5.723 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008074/0.225, allocations: 347 kB / 0.6248 GB, free: 5.379 MB / 0.6042 GB Notification: Performance of SimCode: time 1.332e-06/0.225, allocations: 0 / 0.6248 GB, free: 5.379 MB / 0.6042 GB Notification: Performance of Templates: time 0.05109/0.2761, allocations: 18.78 MB / 0.6432 GB, free: 3.023 MB / 0.6198 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.120406054891646]