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.0009579/0.0009579, allocations: 89.06 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.0009948/0.0009948, allocations: 165 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.9911/0.9911, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8278/0.8278, allocations: 154.8 MB / 414.7 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.713e-06/1.713e-06, allocations: 0 / 0.5206 GB, free: 1.941 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.095e-05, allocations: 4.281 kB / 0.5206 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1379/0.1379, allocations: 153.6 MB / 0.6706 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006371/0.1443, allocations: 4.882 MB / 0.6753 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009298/0.1452, allocations: 67.38 kB / 0.6754 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008532/0.1461, allocations: 412.9 kB / 0.6758 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.1482, allocations: 1.255 MB / 0.677 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.2409/0.3891, allocations: 1.577 MB / 0.6786 GB, free: 49.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003251/0.3924, allocations: 2.966 MB / 0.6815 GB, free: 49.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.3934, allocations: 0.7492 MB / 0.6822 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.3954, allocations: 1.321 MB / 0.6835 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.3965, allocations: 0.7346 MB / 0.6842 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.3967, allocations: 102.6 kB / 0.6843 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.3979, allocations: 0.8117 MB / 0.6851 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.3982, allocations: 394.8 kB / 0.6855 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004427/0.3986, allocations: 400.8 kB / 0.6858 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.4002, allocations: 1.417 MB / 0.6872 GB, free: 49.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4002, allocations: 0 / 0.6872 GB, free: 49.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4002, allocations: 1.125 kB / 0.6872 GB, free: 49.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.763e-05/0.4002, allocations: 0 / 0.6872 GB, free: 49.1 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.002063/0.4023, allocations: 1.608 MB / 0.6888 GB, free: 48.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.4023, allocations: 11.59 kB / 0.6888 GB, free: 48.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.4036, allocations: 0.5103 MB / 0.6893 GB, free: 48.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.4048, allocations: 1.001 MB / 0.6903 GB, free: 47.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.4049, allocations: 57.56 kB / 0.6903 GB, free: 47.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-05/0.405, allocations: 75.64 kB / 0.6904 GB, free: 47.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.406, allocations: 0.8566 MB / 0.6912 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.406, allocations: 0.6562 kB / 0.6912 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.4061, allocations: 26.25 kB / 0.6913 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.4061, allocations: 38.2 kB / 0.6913 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006804/0.4068, allocations: 417.7 kB / 0.6917 GB, free: 47.49 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.002571/0.4094, allocations: 2.732 MB / 0.6944 GB, free: 46.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.41, allocations: 343.6 kB / 0.6947 GB, free: 46.26 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.4102, allocations: 176 kB / 0.6949 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.4103, allocations: 40.08 kB / 0.6949 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/0.4107, allocations: 453.6 kB / 0.6953 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 2.535e-06/0.4107, allocations: 3.938 kB / 0.6953 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.0009867/0.4117, allocations: 0.6439 MB / 0.696 GB, free: 45.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.4117, allocations: 144.8 kB / 0.6961 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/0.4124, allocations: 0.7977 MB / 0.6969 GB, free: 45.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.4125, allocations: 36.27 kB / 0.6969 GB, free: 45.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.4126, allocations: 0.5038 MB / 0.6974 GB, free: 45.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.498e-05/0.4127, allocations: 192 kB / 0.6976 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.4129, allocations: 162.7 kB / 0.6978 GB, free: 44.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.413, allocations: 0.498 MB / 0.6982 GB, free: 44.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.4132, allocations: 128.7 kB / 0.6984 GB, free: 44.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.4135, allocations: 0.6732 MB / 0.699 GB, free: 43.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.414, allocations: 449.5 kB / 0.6995 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.414, allocations: 2.719 kB / 0.6995 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007256/0.4147, allocations: 0.5813 MB / 0.7 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.4147, allocations: 36.81 kB / 0.7001 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4147, allocations: 3.938 kB / 0.7001 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.4147, allocations: 7.906 kB / 0.7001 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.4151, allocations: 159.5 kB / 0.7002 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4151, allocations: 10.03 kB / 0.7002 GB, free: 43.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.4156, allocations: 141 kB / 0.7004 GB, free: 43.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/0.4156, allocations: 39.12 kB / 0.7004 GB, free: 43.33 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.0001879/0.4158, allocations: 234.3 kB / 0.7006 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.4159, allocations: 115.9 kB / 0.7007 GB, free: 43.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006944/0.4166, allocations: 0.5706 MB / 0.7013 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.4166, allocations: 11.77 kB / 0.7013 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4167, allocations: 3.938 kB / 0.7013 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4167, allocations: 3.375 kB / 0.7013 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.4186, allocations: 2.059 MB / 0.7033 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.4186, allocations: 5.625 kB / 0.7033 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.4189, allocations: 109.1 kB / 0.7034 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.4189, allocations: 9.969 kB / 0.7034 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.4189, allocations: 27.41 kB / 0.7035 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.4189, allocations: 18.3 kB / 0.7035 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.419, allocations: 12.12 kB / 0.7035 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/0.4197, allocations: 1.083 MB / 0.7046 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.42, allocations: 225.9 kB / 0.7048 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.788e-05/0.42, allocations: 23.25 kB / 0.7048 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.4205, allocations: 63.09 kB / 0.7049 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.4205, allocations: 69.06 kB / 0.7049 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.4206, allocations: 36.25 kB / 0.705 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003936/0.421, allocations: 496.6 kB / 0.7054 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.421, allocations: 2.625 kB / 0.7054 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007443/0.4217, allocations: 293.2 kB / 0.7057 GB, free: 40.94 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.0003244/0.422, allocations: 224.7 kB / 0.7059 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006436/0.4227, allocations: 0.4924 MB / 0.7064 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4227, allocations: 1.094 kB / 0.7064 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.423, allocations: 299.1 kB / 0.7067 GB, free: 40.58 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.4242, allocations: 421 kB / 0.7071 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.4263, allocations: 1.824 MB / 0.7089 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.4265, allocations: 218.1 kB / 0.7091 GB, free: 39.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005305/0.427, allocations: 218.2 kB / 0.7093 GB, free: 39.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.4272, allocations: 66.48 kB / 0.7094 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.4272, allocations: 4.062 kB / 0.7094 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of Templates: time 0.02101/0.4482, allocations: 16.45 MB / 0.7254 GB, free: 37.79 MB / 0.6355 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.601193913258612]