Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.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.0008886/0.0008886, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001319/0.001319, allocations: 173 kB / 23.5 MB, free: 1.051 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.9712/0.9712, allocations: 177.1 MB / 203.8 MB, free: 5.598 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.7981/0.7981, allocations: 154.8 MB / 415.1 MB, free: 0.4922 MB / 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.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 0 / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.456e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4755/0.4755, allocations: 169.9 MB / 0.6865 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.4782, allocations: 1.879 MB / 0.6883 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003319/0.4785, allocations: 18.88 kB / 0.6883 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.4791, allocations: 219 kB / 0.6885 GB, free: 47.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.4807, allocations: 0.7899 MB / 0.6893 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.4824, allocations: 0.9249 MB / 0.6902 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009793/0.4834, allocations: 0.8514 MB / 0.691 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000547/0.4839, allocations: 242.1 kB / 0.6912 GB, free: 47.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.4852, allocations: 0.7009 MB / 0.6919 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.4854, allocations: 231 kB / 0.6922 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.4855, allocations: 28.31 kB / 0.6922 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.487, allocations: 0.9084 MB / 0.6931 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.4871, allocations: 135.3 kB / 0.6932 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.4873, allocations: 141.4 kB / 0.6933 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.4884, allocations: 0.8095 MB / 0.6941 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4884, allocations: 4.406 kB / 0.6941 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4884, allocations: 2.906 kB / 0.6941 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.4884, allocations: 0.8125 kB / 0.6941 GB, free: 47.19 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.00108/0.4895, allocations: 0.789 MB / 0.6949 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4895, allocations: 9.469 kB / 0.6949 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007035/0.4902, allocations: 218.7 kB / 0.6951 GB, free: 46.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.4906, allocations: 330.5 kB / 0.6954 GB, free: 46.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.4906, allocations: 19.56 kB / 0.6955 GB, free: 46.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.4907, allocations: 28.19 kB / 0.6955 GB, free: 46.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.4911, allocations: 296.1 kB / 0.6958 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4911, allocations: 0 / 0.6958 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.4911, allocations: 13.78 kB / 0.6958 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.4911, allocations: 13.75 kB / 0.6958 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.4914, allocations: 158.7 kB / 0.6959 GB, free: 46.3 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.00111/0.4925, allocations: 1.367 MB / 0.6973 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.4927, allocations: 105.1 kB / 0.6974 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/0.4928, allocations: 69.55 kB / 0.6974 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.493, allocations: 67.55 kB / 0.6975 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.4931, allocations: 34.2 kB / 0.6975 GB, free: 45.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.4931, allocations: 0 / 0.6975 GB, free: 45.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0004296/0.4935, allocations: 203.3 kB / 0.6977 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.4935, allocations: 54.16 kB / 0.6978 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.4937, allocations: 314.2 kB / 0.6981 GB, free: 45.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.4937, allocations: 31.89 kB / 0.6981 GB, free: 45.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4938, allocations: 256.2 kB / 0.6984 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.4938, allocations: 70.7 kB / 0.6984 GB, free: 44.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.4939, allocations: 57.88 kB / 0.6985 GB, free: 44.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.494, allocations: 0.5135 MB / 0.699 GB, free: 44.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.494, allocations: 27.83 kB / 0.699 GB, free: 44.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.4942, allocations: 180.4 kB / 0.6992 GB, free: 44.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.4943, allocations: 142.2 kB / 0.6993 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4943, allocations: 0.9375 kB / 0.6993 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002348/0.4945, allocations: 203.3 kB / 0.6995 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4946, allocations: 5.812 kB / 0.6995 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.4946, allocations: 3.75 kB / 0.6995 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4946, allocations: 2.812 kB / 0.6995 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.4947, allocations: 44.48 kB / 0.6996 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4947, allocations: 4.047 kB / 0.6996 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.745e-05/0.4948, allocations: 22.83 kB / 0.6996 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.4949, allocations: 12.78 kB / 0.6996 GB, free: 43.97 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 7.678e-05/0.4949, allocations: 170.2 kB / 0.6998 GB, free: 43.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.495, allocations: 36.94 kB / 0.6998 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.4952, allocations: 174.5 kB / 0.7 GB, free: 43.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4952, allocations: 7.047 kB / 0.7 GB, free: 43.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4952, allocations: 0 / 0.7 GB, free: 43.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4952, allocations: 3.188 kB / 0.7 GB, free: 43.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.4958, allocations: 0.6822 MB / 0.7006 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4958, allocations: 2.938 kB / 0.7006 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.4959, allocations: 40.23 kB / 0.7007 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.496, allocations: 2.938 kB / 0.7007 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.496, allocations: 10.88 kB / 0.7007 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.496, allocations: 10.59 kB / 0.7007 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.496, allocations: 8.75 kB / 0.7007 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.4962, allocations: 403.2 kB / 0.7011 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.4963, allocations: 48.97 kB / 0.7011 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.4963, allocations: 7.875 kB / 0.7012 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-05/0.4964, allocations: 16.56 kB / 0.7012 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.4964, allocations: 19.05 kB / 0.7012 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.4964, allocations: 8.594 kB / 0.7012 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.059e-05/0.4965, allocations: 215.3 kB / 0.7014 GB, free: 42.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4965, allocations: 0 / 0.7014 GB, free: 42.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003157/0.4969, allocations: 118.6 kB / 0.7015 GB, free: 42.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002257/0.4971, allocations: 158.4 kB / 0.7017 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.4973, allocations: 116.1 kB / 0.7018 GB, free: 42.72 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4973, allocations: 0 / 0.7018 GB, free: 42.72 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/0.4974, allocations: 71.41 kB / 0.7018 GB, free: 42.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.4979, allocations: 163.4 kB / 0.702 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009788/0.4989, allocations: 0.6197 MB / 0.7026 GB, free: 42.28 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.499e-05/0.499, allocations: 108 kB / 0.7027 GB, free: 42.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001662/0.4991, allocations: 59.98 kB / 0.7028 GB, free: 42.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.4992, allocations: 31.78 kB / 0.7028 GB, free: 42.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/0.4992, allocations: 0.875 kB / 0.7028 GB, free: 42.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.008061/0.5073, allocations: 5.816 MB / 0.7085 GB, free: 41.87 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3886525148991495]