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.002283/0.002283, allocations: 81.5 kB / 19.44 MB, free: 344 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.002042/0.002042, allocations: 173.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.644/1.644, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.325/1.325, allocations: 154.8 MB / 414.3 MB, free: 460 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 178] 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 1.684e-06/1.684e-06, allocations: 0 / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.244e-05/3.413e-05, allocations: 5.812 kB / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6393/0.6393, allocations: 169.8 MB / 0.6856 GB, free: 47.41 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003572/0.6429, allocations: 1.883 MB / 0.6875 GB, free: 47.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004303/0.6433, allocations: 17.81 kB / 0.6875 GB, free: 47.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007556/0.6441, allocations: 223.4 kB / 0.6877 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.6462, allocations: 0.7964 MB / 0.6885 GB, free: 47.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.6485, allocations: 0.9204 MB / 0.6894 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.6497, allocations: 0.8507 MB / 0.6902 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004321/0.6501, allocations: 240.2 kB / 0.6904 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.6518, allocations: 0.6996 MB / 0.6911 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.6522, allocations: 237.1 kB / 0.6914 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.6522, allocations: 29.06 kB / 0.6914 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.6541, allocations: 0.9013 MB / 0.6923 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.6542, allocations: 134.4 kB / 0.6924 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.6544, allocations: 141.1 kB / 0.6925 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.6557, allocations: 0.927 MB / 0.6934 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6557, allocations: 3.438 kB / 0.6934 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6557, allocations: 0 / 0.6934 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.6557, allocations: 0.8438 kB / 0.6934 GB, free: 47.24 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.001422/0.6572, allocations: 0.8062 MB / 0.6942 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.6572, allocations: 9.969 kB / 0.6942 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.6582, allocations: 223.9 kB / 0.6944 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005566/0.6588, allocations: 314.9 kB / 0.6947 GB, free: 46.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.6588, allocations: 20.03 kB / 0.6948 GB, free: 46.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.6588, allocations: 30.5 kB / 0.6948 GB, free: 46.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.6594, allocations: 342.6 kB / 0.6951 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.6594, allocations: 7.109 kB / 0.6951 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/0.6595, allocations: 10.06 kB / 0.6951 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.6595, allocations: 18.91 kB / 0.6952 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00055/0.6601, allocations: 223.4 kB / 0.6954 GB, free: 46.37 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.001724/0.6618, allocations: 1.452 MB / 0.6968 GB, free: 45.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.6621, allocations: 138.8 kB / 0.6969 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.6623, allocations: 89.36 kB / 0.697 GB, free: 45.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004156/0.6627, allocations: 62.77 kB / 0.6971 GB, free: 45.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.6627, allocations: 39.88 kB / 0.6971 GB, free: 45.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.6627, allocations: 0.9688 kB / 0.6971 GB, free: 45.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0007322/0.6635, allocations: 267.7 kB / 0.6974 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.6635, allocations: 55.25 kB / 0.6974 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.6637, allocations: 355.1 kB / 0.6977 GB, free: 45.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.6638, allocations: 32.7 kB / 0.6978 GB, free: 45.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.6639, allocations: 264.2 kB / 0.698 GB, free: 44.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.6639, allocations: 71.78 kB / 0.6981 GB, free: 44.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.517e-05/0.664, allocations: 63.39 kB / 0.6982 GB, free: 44.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6641, allocations: 0.5171 MB / 0.6987 GB, free: 44.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.6643, allocations: 55.56 kB / 0.6987 GB, free: 44.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.6645, allocations: 210.9 kB / 0.6989 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.6648, allocations: 190.2 kB / 0.6991 GB, free: 44.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6648, allocations: 3.094 kB / 0.6991 GB, free: 44.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004096/0.6652, allocations: 236.8 kB / 0.6993 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.6652, allocations: 6.156 kB / 0.6993 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.6652, allocations: 0 / 0.6993 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.6652, allocations: 4.719 kB / 0.6993 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.6654, allocations: 47.25 kB / 0.6994 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.6654, allocations: 8.734 kB / 0.6994 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.6656, allocations: 16.52 kB / 0.6994 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.6657, allocations: 15.69 kB / 0.6994 GB, free: 44.04 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.0001278/0.6658, allocations: 190.8 kB / 0.6996 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.6658, allocations: 37.22 kB / 0.6996 GB, free: 43.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004641/0.6663, allocations: 222.4 kB / 0.6999 GB, free: 43.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6663, allocations: 0.5938 kB / 0.6999 GB, free: 43.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6663, allocations: 2.969 kB / 0.6999 GB, free: 43.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6663, allocations: 5.344 kB / 0.6999 GB, free: 43.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.6674, allocations: 0.7898 MB / 0.7006 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6674, allocations: 3.594 kB / 0.7006 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.6676, allocations: 43.86 kB / 0.7007 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.6676, allocations: 3.719 kB / 0.7007 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.6676, allocations: 9.281 kB / 0.7007 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.6676, allocations: 7.656 kB / 0.7007 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6676, allocations: 5.859 kB / 0.7007 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.668, allocations: 448.9 kB / 0.7011 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.6681, allocations: 46.7 kB / 0.7012 GB, free: 43.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.6682, allocations: 11.7 kB / 0.7012 GB, free: 43.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.6684, allocations: 13.44 kB / 0.7012 GB, free: 43.03 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.6684, allocations: 21.28 kB / 0.7012 GB, free: 43.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.6685, allocations: 7.844 kB / 0.7012 GB, free: 43.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000172/0.6686, allocations: 242.4 kB / 0.7015 GB, free: 42.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.6686, allocations: 0 / 0.7015 GB, free: 42.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000438/0.6691, allocations: 116.1 kB / 0.7016 GB, free: 42.89 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.0002632/0.6693, allocations: 163.4 kB / 0.7017 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003888/0.6697, allocations: 169.1 kB / 0.7019 GB, free: 42.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6697, allocations: 0 / 0.7019 GB, free: 42.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.6699, allocations: 98.56 kB / 0.702 GB, free: 42.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009354/0.6708, allocations: 161.4 kB / 0.7021 GB, free: 42.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008029/0.6716, allocations: 0.6249 MB / 0.7027 GB, free: 42.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.6718, allocations: 191.4 kB / 0.7029 GB, free: 42.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002165/0.672, allocations: 66.77 kB / 0.703 GB, free: 42.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.6721, allocations: 27.44 kB / 0.703 GB, free: 42.27 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/0.6721, allocations: 0 / 0.703 GB, free: 42.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.01023/0.6823, allocations: 5.815 MB / 0.7087 GB, free: 41.92 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: 7.002574910060503]