Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001841/0.001841, allocations: 89.48 kB / 19.44 MB, free: 336 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.002009/0.002009, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.609/1.609, allocations: 177.1 MB / 203.1 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.314/1.314, allocations: 154.6 MB / 414.1 MB, free: 0.6406 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.273e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5871/0.5871, allocations: 169.8 MB / 0.6854 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002958/0.59, allocations: 1.884 MB / 0.6872 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003511/0.5904, allocations: 21.56 kB / 0.6873 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.5911, allocations: 224.2 kB / 0.6875 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.5928, allocations: 0.7837 MB / 0.6882 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.5947, allocations: 0.9216 MB / 0.6891 GB, free: 47.18 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009016/0.5956, allocations: 0.8475 MB / 0.69 GB, free: 47.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.596, allocations: 239.3 kB / 0.6902 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.5971, allocations: 0.7066 MB / 0.6909 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.5974, allocations: 236.3 kB / 0.6911 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.5975, allocations: 26.81 kB / 0.6911 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.5989, allocations: 0.9022 MB / 0.692 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.5991, allocations: 136 kB / 0.6922 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.5992, allocations: 139 kB / 0.6923 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.6004, allocations: 0.9273 MB / 0.6932 GB, free: 47.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6004, allocations: 0 / 0.6932 GB, free: 47.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6004, allocations: 1.031 kB / 0.6932 GB, free: 47.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.6004, allocations: 3.188 kB / 0.6932 GB, free: 47.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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001354/0.6018, allocations: 0.8076 MB / 0.694 GB, free: 46.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.6018, allocations: 9.219 kB / 0.694 GB, free: 46.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009947/0.6028, allocations: 220.7 kB / 0.6942 GB, free: 46.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.6033, allocations: 320 kB / 0.6945 GB, free: 46.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.6033, allocations: 26.86 kB / 0.6945 GB, free: 46.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.6034, allocations: 26.56 kB / 0.6946 GB, free: 46.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.6039, allocations: 341.9 kB / 0.6949 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.6039, allocations: 2.453 kB / 0.6949 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.6039, allocations: 17.02 kB / 0.6949 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.6039, allocations: 11.28 kB / 0.6949 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.6044, allocations: 228.6 kB / 0.6951 GB, free: 46.23 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.001545/0.606, allocations: 1.455 MB / 0.6966 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.6063, allocations: 134.7 kB / 0.6967 GB, free: 45.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.6065, allocations: 94.53 kB / 0.6968 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004127/0.6069, allocations: 65.98 kB / 0.6968 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.6069, allocations: 37.52 kB / 0.6969 GB, free: 45.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.124e-06/0.6069, allocations: 3.812 kB / 0.6969 GB, free: 45.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0007014/0.6076, allocations: 256.9 kB / 0.6971 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.6076, allocations: 54.25 kB / 0.6972 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.6079, allocations: 357.8 kB / 0.6975 GB, free: 44.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.6079, allocations: 35.47 kB / 0.6975 GB, free: 44.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.993e-05/0.608, allocations: 260.4 kB / 0.6978 GB, free: 44.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.608, allocations: 74.64 kB / 0.6979 GB, free: 44.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.941e-05/0.6081, allocations: 60.52 kB / 0.6979 GB, free: 44.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.187e-05/0.6082, allocations: 0.5236 MB / 0.6984 GB, free: 44.22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.6083, allocations: 50.11 kB / 0.6985 GB, free: 44.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.6085, allocations: 217.8 kB / 0.6987 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.6088, allocations: 197.7 kB / 0.6989 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6088, allocations: 3.188 kB / 0.6989 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003983/0.6092, allocations: 231 kB / 0.6991 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6092, allocations: 10.38 kB / 0.6991 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6092, allocations: 2.688 kB / 0.6991 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6092, allocations: 3.469 kB / 0.6991 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.6095, allocations: 47.56 kB / 0.6992 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6095, allocations: 5.5 kB / 0.6992 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.6097, allocations: 16.48 kB / 0.6992 GB, free: 43.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.6097, allocations: 15.33 kB / 0.6992 GB, free: 43.9 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 0.0001102/0.6098, allocations: 188.3 kB / 0.6994 GB, free: 43.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.6099, allocations: 40.69 kB / 0.6994 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.6103, allocations: 216 kB / 0.6996 GB, free: 43.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6103, allocations: 3.562 kB / 0.6996 GB, free: 43.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6103, allocations: 0 / 0.6996 GB, free: 43.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.6103, allocations: 3.188 kB / 0.6996 GB, free: 43.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.6114, allocations: 0.802 MB / 0.7004 GB, free: 43.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6114, allocations: 3.938 kB / 0.7004 GB, free: 43.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.6116, allocations: 39.95 kB / 0.7005 GB, free: 43.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.6116, allocations: 2.875 kB / 0.7005 GB, free: 43.24 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.6116, allocations: 7.281 kB / 0.7005 GB, free: 43.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.6116, allocations: 9.625 kB / 0.7005 GB, free: 43.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6116, allocations: 8 kB / 0.7005 GB, free: 43.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.612, allocations: 449.5 kB / 0.7009 GB, free: 42.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.6121, allocations: 46.5 kB / 0.701 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.6122, allocations: 7.312 kB / 0.701 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.6124, allocations: 16.53 kB / 0.701 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.6124, allocations: 22.98 kB / 0.701 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.6124, allocations: 8.594 kB / 0.701 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000166/0.6126, allocations: 236.2 kB / 0.7012 GB, free: 42.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.6126, allocations: 0.9375 kB / 0.7012 GB, free: 42.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004393/0.613, allocations: 115.5 kB / 0.7013 GB, free: 42.75 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.0002686/0.6133, allocations: 168.1 kB / 0.7015 GB, free: 42.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.6137, allocations: 170.2 kB / 0.7017 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6137, allocations: 0 / 0.7017 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.6139, allocations: 99.84 kB / 0.7018 GB, free: 42.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008665/0.6148, allocations: 157.2 kB / 0.7019 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008333/0.6156, allocations: 0.6296 MB / 0.7025 GB, free: 42.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.6157, allocations: 191.5 kB / 0.7027 GB, free: 42.13 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.616, allocations: 64.55 kB / 0.7028 GB, free: 42.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.6161, allocations: 34.33 kB / 0.7028 GB, free: 42.12 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.6161, allocations: 0 / 0.7028 GB, free: 42.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.01007/0.6261, allocations: 5.801 MB / 0.7085 GB, free: 41.79 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.782975614070892]