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.001404/0.001404, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001428/0.001428, allocations: 169 kB / 23.27 MB, free: 1.223 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.9799/0.9799, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.7545/0.7545, allocations: 154.9 MB / 415.1 MB, free: 248 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.493e-06/1.493e-06, allocations: 0 / 0.5211 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.349e-05, allocations: 3.406 kB / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1332/0.1332, allocations: 150.7 MB / 0.6683 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007886/0.1411, allocations: 4.85 MB / 0.6731 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.1423, allocations: 67.38 kB / 0.6731 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008998/0.1432, allocations: 420.8 kB / 0.6735 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.1458, allocations: 1.259 MB / 0.6748 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.1482, allocations: 1.584 MB / 0.6763 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.2676/0.4158, allocations: 2.967 MB / 0.6792 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.417, allocations: 0.7461 MB / 0.6799 GB, free: 49.34 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002667/0.4196, allocations: 1.532 MB / 0.6814 GB, free: 49.33 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.4207, allocations: 0.6809 MB / 0.6821 GB, free: 49.33 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.4209, allocations: 96.47 kB / 0.6822 GB, free: 49.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.4221, allocations: 0.7239 MB / 0.6829 GB, free: 49.33 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002931/0.4224, allocations: 390.8 kB / 0.6833 GB, free: 49.33 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.4229, allocations: 386.6 kB / 0.6836 GB, free: 49.33 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.4246, allocations: 1.371 MB / 0.685 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4247, allocations: 0 / 0.685 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4247, allocations: 1.594 kB / 0.685 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.201e-05/0.4247, allocations: 0 / 0.685 GB, free: 49.32 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.001855/0.4265, allocations: 1.608 MB / 0.6866 GB, free: 48.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4266, allocations: 14.34 kB / 0.6866 GB, free: 48.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.4277, allocations: 499.9 kB / 0.687 GB, free: 48.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/0.4286, allocations: 0.9079 MB / 0.6879 GB, free: 48.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.4286, allocations: 55.41 kB / 0.688 GB, free: 48.08 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.4287, allocations: 65.81 kB / 0.688 GB, free: 48.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008549/0.4295, allocations: 0.8131 MB / 0.6888 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4296, allocations: 2.812 kB / 0.6888 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/0.4296, allocations: 24.81 kB / 0.6889 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.4296, allocations: 31.56 kB / 0.6889 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000453/0.4301, allocations: 342.2 kB / 0.6892 GB, free: 47.72 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.002439/0.4325, allocations: 2.612 MB / 0.6918 GB, free: 46.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.433, allocations: 317.8 kB / 0.6921 GB, free: 46.51 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.4331, allocations: 154.3 kB / 0.6922 GB, free: 46.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.4333, allocations: 57.59 kB / 0.6923 GB, free: 46.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/0.4336, allocations: 434.2 kB / 0.6927 GB, free: 46.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 2.625e-06/0.4336, allocations: 0.9375 kB / 0.6927 GB, free: 46.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.0008086/0.4344, allocations: 0.5896 MB / 0.6933 GB, free: 46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.4344, allocations: 141.7 kB / 0.6934 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.435, allocations: 0.7773 MB / 0.6942 GB, free: 45.65 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.435, allocations: 36.33 kB / 0.6942 GB, free: 45.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.4352, allocations: 0.5066 MB / 0.6947 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.569e-05/0.4353, allocations: 208.3 kB / 0.6949 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.4355, allocations: 149.8 kB / 0.695 GB, free: 45.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.4355, allocations: 0.5094 MB / 0.6955 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.4357, allocations: 104.3 kB / 0.6956 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.4359, allocations: 0.5833 MB / 0.6962 GB, free: 44.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.4362, allocations: 406.7 kB / 0.6966 GB, free: 43.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4362, allocations: 0.9375 kB / 0.6966 GB, free: 43.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005943/0.4368, allocations: 0.5373 MB / 0.6971 GB, free: 43.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.4369, allocations: 42.55 kB / 0.6972 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4369, allocations: 3.219 kB / 0.6972 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4369, allocations: 7.406 kB / 0.6972 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.4373, allocations: 153 kB / 0.6973 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.4373, allocations: 11.83 kB / 0.6973 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.4377, allocations: 150.5 kB / 0.6975 GB, free: 43.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.4378, allocations: 31.16 kB / 0.6975 GB, free: 43.68 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.000183/0.4379, allocations: 231 kB / 0.6977 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4381, allocations: 116.5 kB / 0.6978 GB, free: 43.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.4386, allocations: 0.5306 MB / 0.6983 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.4386, allocations: 5.781 kB / 0.6984 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.4386, allocations: 2.844 kB / 0.6984 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.4387, allocations: 7.25 kB / 0.6984 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.4403, allocations: 1.889 MB / 0.7002 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4403, allocations: 9.25 kB / 0.7002 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.4405, allocations: 108.5 kB / 0.7003 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.4405, allocations: 15.56 kB / 0.7003 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.4406, allocations: 25.25 kB / 0.7004 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.4406, allocations: 14.38 kB / 0.7004 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4406, allocations: 11.84 kB / 0.7004 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006643/0.4413, allocations: 1.047 MB / 0.7014 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.4415, allocations: 216.9 kB / 0.7016 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.4416, allocations: 28.67 kB / 0.7016 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.442, allocations: 66.58 kB / 0.7017 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.442, allocations: 58.69 kB / 0.7018 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-05/0.4421, allocations: 39.66 kB / 0.7018 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003043/0.4424, allocations: 455.2 kB / 0.7022 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4424, allocations: 1 kB / 0.7022 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007606/0.4432, allocations: 300.2 kB / 0.7025 GB, free: 41.31 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.0003/0.4435, allocations: 217.9 kB / 0.7027 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005148/0.444, allocations: 464.5 kB / 0.7032 GB, free: 41.06 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.444, allocations: 0.9062 kB / 0.7032 GB, free: 41.06 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.4442, allocations: 287.7 kB / 0.7034 GB, free: 40.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.4453, allocations: 416.2 kB / 0.7038 GB, free: 40.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.4473, allocations: 1.81 MB / 0.7056 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.4474, allocations: 223.9 kB / 0.7058 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005242/0.4479, allocations: 149.9 kB / 0.706 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006509/0.4486, allocations: 408.7 kB / 0.7064 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.292e-06/0.4486, allocations: 3.969 kB / 0.7064 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.02362/0.4722, allocations: 18.01 MB / 0.7239 GB, free: 37.93 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.4844715292565525]