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.00136/0.00136, allocations: 93.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.001732/0.001732, 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.9553/0.9553, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7397/0.7397, allocations: 154.9 MB / 414.8 MB, free: 408 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.683e-06/1.683e-06, allocations: 0 / 0.5207 GB, free: 1.824 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.114e-05, allocations: 7.266 kB / 0.5207 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1324/0.1324, allocations: 153.6 MB / 0.6707 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00662/0.139, allocations: 4.88 MB / 0.6755 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.1402, allocations: 67.44 kB / 0.6755 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009151/0.1411, allocations: 416.9 kB / 0.6759 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.1435, allocations: 1.251 MB / 0.6771 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.2731/0.4167, allocations: 1.58 MB / 0.6787 GB, free: 49.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003765/0.4204, allocations: 2.975 MB / 0.6816 GB, free: 49.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.4216, allocations: 0.7458 MB / 0.6823 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.4246, allocations: 1.531 MB / 0.6838 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.4256, allocations: 0.6811 MB / 0.6845 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.4258, allocations: 95.66 kB / 0.6846 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.427, allocations: 0.7174 MB / 0.6853 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003045/0.4273, allocations: 387.5 kB / 0.6856 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00049/0.4278, allocations: 390.5 kB / 0.686 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.4296, allocations: 1.379 MB / 0.6874 GB, free: 49 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4296, allocations: 1.219 kB / 0.6874 GB, free: 49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4296, allocations: 0 / 0.6874 GB, free: 49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.508e-05/0.4296, allocations: 0 / 0.6874 GB, free: 49 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.002036/0.4316, allocations: 1.589 MB / 0.6889 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4317, allocations: 10.78 kB / 0.6889 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.4329, allocations: 0.4991 MB / 0.6894 GB, free: 48.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/0.4339, allocations: 0.9145 MB / 0.6903 GB, free: 47.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.4339, allocations: 68.05 kB / 0.6904 GB, free: 47.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/0.434, allocations: 71.41 kB / 0.6904 GB, free: 47.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.435, allocations: 0.8605 MB / 0.6913 GB, free: 47.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.435, allocations: 0 / 0.6913 GB, free: 47.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.4351, allocations: 29.16 kB / 0.6913 GB, free: 47.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-05/0.4351, allocations: 28.41 kB / 0.6913 GB, free: 47.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.4358, allocations: 422.1 kB / 0.6917 GB, free: 47.4 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.002747/0.4386, allocations: 2.749 MB / 0.6944 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006166/0.4392, allocations: 345.3 kB / 0.6947 GB, free: 46.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.4394, allocations: 175.2 kB / 0.6949 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.4395, allocations: 41.3 kB / 0.695 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003759/0.4399, allocations: 450.9 kB / 0.6954 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 2.885e-06/0.4399, allocations: 0 / 0.6954 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.001016/0.4409, allocations: 0.6506 MB / 0.696 GB, free: 45.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4409, allocations: 144.1 kB / 0.6962 GB, free: 45.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006515/0.4416, allocations: 0.7971 MB / 0.6969 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.4416, allocations: 38.64 kB / 0.697 GB, free: 45.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.4418, allocations: 0.5018 MB / 0.6975 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.824e-05/0.4419, allocations: 200.7 kB / 0.6977 GB, free: 44.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.4421, allocations: 150.2 kB / 0.6978 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.4421, allocations: 0.5021 MB / 0.6983 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.4424, allocations: 130.9 kB / 0.6984 GB, free: 44.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.4427, allocations: 0.6 MB / 0.699 GB, free: 43.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.4431, allocations: 444.2 kB / 0.6994 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4431, allocations: 0 / 0.6994 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007485/0.4439, allocations: 0.5832 MB / 0.7 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.4439, allocations: 38.02 kB / 0.7 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4439, allocations: 7.344 kB / 0.7 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4439, allocations: 9.406 kB / 0.7 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.4443, allocations: 155.8 kB / 0.7002 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.4443, allocations: 9.781 kB / 0.7002 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.4448, allocations: 148.2 kB / 0.7003 GB, free: 43.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.4449, allocations: 36.78 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.0001916/0.4451, allocations: 234.8 kB / 0.7006 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.4452, allocations: 116 kB / 0.7007 GB, free: 43.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006761/0.4458, allocations: 0.5665 MB / 0.7013 GB, free: 42.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.4459, allocations: 12.53 kB / 0.7013 GB, free: 42.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4459, allocations: 0 / 0.7013 GB, free: 42.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.4459, allocations: 8.156 kB / 0.7013 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.4476, allocations: 2.058 MB / 0.7033 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/0.4477, allocations: 6.094 kB / 0.7033 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.4479, allocations: 111.9 kB / 0.7034 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.4479, allocations: 8.875 kB / 0.7034 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.4479, allocations: 29.53 kB / 0.7034 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-06/0.4479, allocations: 16.92 kB / 0.7035 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.4479, allocations: 12 kB / 0.7035 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.4487, allocations: 1.083 MB / 0.7045 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.4489, allocations: 225.4 kB / 0.7047 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.639e-05/0.449, allocations: 20.75 kB / 0.7048 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.4494, allocations: 66.97 kB / 0.7048 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.4495, allocations: 69.77 kB / 0.7049 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.4495, allocations: 39.12 kB / 0.7049 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003568/0.4499, allocations: 490.8 kB / 0.7054 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4499, allocations: 0 / 0.7054 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007024/0.4506, allocations: 301.8 kB / 0.7057 GB, free: 40.93 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.000338/0.4509, allocations: 213.6 kB / 0.7059 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006722/0.4516, allocations: 0.4905 MB / 0.7064 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.4516, allocations: 1.094 kB / 0.7064 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.4518, allocations: 302.8 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.001087/0.4529, allocations: 419.6 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.002405/0.4553, allocations: 1.83 MB / 0.7088 GB, free: 39.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.4555, allocations: 217.4 kB / 0.7091 GB, free: 39.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005549/0.456, allocations: 210.3 kB / 0.7093 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.4562, allocations: 69.98 kB / 0.7093 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of SimCode: time 1.343e-06/0.4562, allocations: 0 / 0.7093 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.02421/0.4804, allocations: 17.89 MB / 0.7268 GB, free: 37.48 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.596076314803213]