Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8") translateModel(Annex60.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007623/0.007624, allocations: 101.2 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 186.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3914/0.3914, allocations: 54.94 MB / 324.8 MB, free: 88 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001528, allocations: 70.86 kB / 456.3 MB, free: 38.63 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 59.59 MB / 0.5037 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example8): time 0.001705/0.1047, allocations: 0.5048 MB / 0.5042 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.1048, allocations: 22.66 kB / 0.5043 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.1049, allocations: 1.375 kB / 0.5043 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.1049, allocations: 0 / 0.5043 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.1051, allocations: 5.375 kB / 0.5043 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.647e-06/0.1051, allocations: 0 / 0.5043 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.807e-05/0.1051, allocations: 5.312 kB / 0.5043 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.1052, allocations: 5.359 kB / 0.5043 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.399e-05/0.1052, allocations: 1.375 kB / 0.5043 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/0.1053, allocations: 5.219 kB / 0.5043 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1053, allocations: 0 / 0.5043 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.102e-06/0.1053, allocations: 0 / 0.5043 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.1053, allocations: 7.938 kB / 0.5043 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.481e-05/0.1053, allocations: 5.328 kB / 0.5043 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.263e-05/0.1054, allocations: 1.344 kB / 0.5043 GB, free: 9.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1054, allocations: 0 / 0.5043 GB, free: 9.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1054, allocations: 0 / 0.5043 GB, free: 9.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1054, allocations: 0 / 0.5043 GB, free: 9.34 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002549/0.1056, allocations: 315.5 kB / 0.5046 GB, free: 8.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1057, allocations: 9.156 kB / 0.5046 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.1057, allocations: 2.188 kB / 0.5046 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.326e-05/0.1058, allocations: 160.4 kB / 0.5048 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1058, allocations: 5.656 kB / 0.5048 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.1058, allocations: 384 / 0.5048 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.467e-05/0.1059, allocations: 48.66 kB / 0.5048 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1059, allocations: 192 / 0.5048 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1059, allocations: 3.938 kB / 0.5048 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.106, allocations: 1.406 kB / 0.5048 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.106, allocations: 5.469 kB / 0.5048 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.1061, allocations: 153.6 kB / 0.505 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.046e-05/0.1061, allocations: 44.33 kB / 0.505 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.1062, allocations: 11.78 kB / 0.505 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1062, allocations: 9.078 kB / 0.505 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.1062, allocations: 35.72 kB / 0.5051 GB, free: 8.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1062, allocations: 0 / 0.5051 GB, free: 8.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001427/0.1064, allocations: 51.28 kB / 0.5051 GB, free: 8.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.1064, allocations: 78.61 kB / 0.5052 GB, free: 8.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.473e-05/0.1064, allocations: 89.86 kB / 0.5053 GB, free: 8.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.1064, allocations: 25.7 kB / 0.5053 GB, free: 8.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.028e-05/0.1064, allocations: 80.14 kB / 0.5054 GB, free: 8.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1065, allocations: 9 kB / 0.5054 GB, free: 8.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.1065, allocations: 17.44 kB / 0.5054 GB, free: 8.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.1066, allocations: 310.8 kB / 0.5057 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.1066, allocations: 5.125 kB / 0.5057 GB, free: 7.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.1066, allocations: 16.14 kB / 0.5057 GB, free: 7.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.1066, allocations: 19.47 kB / 0.5057 GB, free: 7.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1066, allocations: 4.062 kB / 0.5057 GB, free: 7.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.178e-05/0.1067, allocations: 42.64 kB / 0.5058 GB, free: 7.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1067, allocations: 9.125 kB / 0.5058 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1067, allocations: 1.594 kB / 0.5058 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1068, allocations: 3.938 kB / 0.5058 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.1068, allocations: 7.641 kB / 0.5058 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1068, allocations: 0 / 0.5058 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.1069, allocations: 5.5 kB / 0.5058 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-06/0.1069, allocations: 1.031 kB / 0.5058 GB, free: 7.605 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 4.27e-05/0.1069, allocations: 111.1 kB / 0.5059 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.1069, allocations: 1.469 kB / 0.5059 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.865e-05/0.107, allocations: 53.22 kB / 0.506 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1071, allocations: 1.188 kB / 0.506 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1071, allocations: 0 / 0.506 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1071, allocations: 1.219 kB / 0.506 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.912e-05/0.1071, allocations: 151.8 kB / 0.5061 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1072, allocations: 64 / 0.5061 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.1072, allocations: 7.438 kB / 0.5061 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1072, allocations: 1.344 kB / 0.5061 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1072, allocations: 9.25 kB / 0.5061 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1072, allocations: 3.938 kB / 0.5061 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1072, allocations: 1.469 kB / 0.5061 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.5e-05/0.1073, allocations: 70.61 kB / 0.5062 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.1073, allocations: 82.7 kB / 0.5063 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.1073, allocations: 3.938 kB / 0.5063 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.528e-05/0.1074, allocations: 1.219 kB / 0.5063 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.1074, allocations: 1.312 kB / 0.5063 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.1074, allocations: 5.422 kB / 0.5063 GB, free: 7.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.463e-05/0.1074, allocations: 75.28 kB / 0.5064 GB, free: 6.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1074, allocations: 0 / 0.5064 GB, free: 6.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.1076, allocations: 1.062 kB / 0.5064 GB, free: 6.965 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001073/0.1077, allocations: 105.3 kB / 0.5065 GB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.676e-05/0.1078, allocations: 10.44 kB / 0.5065 GB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1078, allocations: 0 / 0.5065 GB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/0.1078, allocations: 4.688 kB / 0.5065 GB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.108, allocations: 5.281 kB / 0.5065 GB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.1082, allocations: 95.03 kB / 0.5066 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.1084, allocations: 0.6758 MB / 0.5072 GB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.191e-05/0.1084, allocations: 0 / 0.5072 GB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.1084, allocations: 8.5 kB / 0.5072 GB, free: 6.035 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1084, allocations: 1.219 kB / 0.5072 GB, free: 6.035 MB / 382.1 MB Notification: Performance of Templates: time 0.001906/0.1103, allocations: 198.2 kB / 0.5074 GB, free: 5.926 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe 2>&1)