Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005925/0.00593, allocations: 99.62 kB / 15.73 MB, free: 6.016 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.001268/0.001268, allocations: 183.7 kB / 16.67 MB, free: 5.949 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.395/1.395, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4125/0.4125, allocations: 54.95 MB / 324.8 MB, free: 15.96 MB / 270.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.001466/0.001466, allocations: 71.25 kB / 456.2 MB, free: 38.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1062, allocations: 59.59 MB / 0.5037 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002646/0.1089, allocations: 1.605 MB / 0.5053 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005712/0.1095, allocations: 268.6 kB / 0.5055 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.1096, allocations: 1.5 kB / 0.5055 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.1096, allocations: 7.875 kB / 0.5055 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.338e-05/0.1097, allocations: 13.33 kB / 0.5056 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.11, allocations: 69.58 kB / 0.5056 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.1101, allocations: 105.7 kB / 0.5057 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1102, allocations: 24.55 kB / 0.5057 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.517e-05/0.1103, allocations: 43.06 kB / 0.5058 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.1104, allocations: 35.97 kB / 0.5058 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1104, allocations: 11.25 kB / 0.5058 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-05/0.1105, allocations: 34.02 kB / 0.5059 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.1105, allocations: 18.61 kB / 0.5059 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.1106, allocations: 47.41 kB / 0.5059 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1107, allocations: 103.9 kB / 0.506 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1108, allocations: 0 / 0.506 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1108, allocations: 0 / 0.506 GB, free: 7.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1108, allocations: 0 / 0.506 GB, free: 7.992 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005715/0.1114, allocations: 398.3 kB / 0.5064 GB, free: 7.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1114, allocations: 17.97 kB / 0.5064 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.1124, allocations: 119 kB / 0.5065 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.1126, allocations: 194 kB / 0.5067 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1127, allocations: 7.094 kB / 0.5067 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1127, allocations: 5.875 kB / 0.5067 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.1132, allocations: 156.5 kB / 0.5069 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1132, allocations: 0 / 0.5069 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1133, allocations: 5.375 kB / 0.5069 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1133, allocations: 5.312 kB / 0.5069 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/0.114, allocations: 155.5 kB / 0.507 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008653/0.1149, allocations: 449.3 kB / 0.5075 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007007/0.1156, allocations: 139.1 kB / 0.5076 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/0.116, allocations: 75.95 kB / 0.5077 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.116, allocations: 0.9062 kB / 0.5077 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.1161, allocations: 39.98 kB / 0.5077 GB, free: 6.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1161, allocations: 0 / 0.5077 GB, free: 6.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001236/0.1173, allocations: 255.2 kB / 0.508 GB, free: 6.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.1173, allocations: 52.78 kB / 0.508 GB, free: 6.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.1175, allocations: 161.4 kB / 0.5082 GB, free: 6.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1175, allocations: 29.7 kB / 0.5082 GB, free: 6.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.1176, allocations: 96.73 kB / 0.5083 GB, free: 6.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1176, allocations: 21.48 kB / 0.5083 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.1176, allocations: 24.73 kB / 0.5083 GB, free: 6.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.1177, allocations: 324.5 kB / 0.5086 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.1181, allocations: 77.16 kB / 0.5087 GB, free: 5.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.1185, allocations: 75.45 kB / 0.5088 GB, free: 5.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.1192, allocations: 136.7 kB / 0.5089 GB, free: 5.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1192, allocations: 0 / 0.5089 GB, free: 5.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000751/0.1199, allocations: 181.4 kB / 0.5091 GB, free: 5.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1199, allocations: 8 kB / 0.5091 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.12, allocations: 3.938 kB / 0.5091 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.12, allocations: 4 kB / 0.5091 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.1202, allocations: 43.94 kB / 0.5091 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1203, allocations: 0 / 0.5091 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.1205, allocations: 31.81 kB / 0.5092 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.1205, allocations: 4.234 kB / 0.5092 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001193/0.1206, allocations: 108.1 kB / 0.5093 GB, free: 5.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.555e-05/0.1207, allocations: 56.27 kB / 0.5093 GB, free: 5.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001694/0.1209, allocations: 88.19 kB / 0.5094 GB, free: 4.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.1209, allocations: 0 / 0.5094 GB, free: 4.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002271/0.1212, allocations: 113.5 kB / 0.5095 GB, free: 4.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.68e-06/0.1212, allocations: 4 kB / 0.5095 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.1212, allocations: 4 kB / 0.5095 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-06/0.1212, allocations: 7.922 kB / 0.5095 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.1213, allocations: 12 kB / 0.5095 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.1213, allocations: 11.92 kB / 0.5096 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.772e-05/0.1213, allocations: 4 kB / 0.5096 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.1214, allocations: 8 kB / 0.5096 GB, free: 4.742 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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 6.789e-05/0.1214, allocations: 184.3 kB / 0.5097 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.1215, allocations: 11.81 kB / 0.5098 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.1215, allocations: 24.17 kB / 0.5098 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.1215, allocations: 0 / 0.5098 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1215, allocations: 0 / 0.5098 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1215, allocations: 0 / 0.5098 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009891/0.1225, allocations: 480 kB / 0.5102 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1226, allocations: 0 / 0.5102 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.1228, allocations: 40.02 kB / 0.5103 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1228, allocations: 256 / 0.5103 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1228, allocations: 7.984 kB / 0.5103 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1228, allocations: 7.938 kB / 0.5103 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1228, allocations: 0 / 0.5103 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/0.1236, allocations: 289 kB / 0.5106 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.1237, allocations: 85.02 kB / 0.5107 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1237, allocations: 4 kB / 0.5107 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.1239, allocations: 23.97 kB / 0.5107 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.124, allocations: 4 kB / 0.5107 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.124, allocations: 7.984 kB / 0.5107 GB, free: 3.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.1241, allocations: 115.2 kB / 0.5108 GB, free: 3.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1241, allocations: 3.938 kB / 0.5108 GB, free: 3.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003224/0.1244, allocations: 32 kB / 0.5108 GB, free: 3.336 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 7.892e-05/0.1245, allocations: 95.25 kB / 0.5109 GB, free: 3.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009054/0.1254, allocations: 183.8 kB / 0.5111 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1254, allocations: 0 / 0.5111 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.1258, allocations: 80.3 kB / 0.5112 GB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.1261, allocations: 26.27 kB / 0.5112 GB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009359/0.1271, allocations: 283.7 kB / 0.5115 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.1272, allocations: 0.7001 MB / 0.5122 GB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.363e-05/0.1273, allocations: 16.67 kB / 0.5122 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.1273, allocations: 23.41 kB / 0.5122 GB, free: 1.879 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1273, allocations: 0 / 0.5122 GB, free: 1.879 MB / 382.1 MB Notification: Performance of Templates: time 0.003242/0.1306, allocations: 1.434 MB / 0.5136 GB, free: 460 kB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)