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.01055/0.01055, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001873/0.001874, allocations: 194.2 kB / 16.67 MB, free: 5.918 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.527/1.527, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4193/0.4193, allocations: 54.95 MB / 324.9 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.001487/0.001487, allocations: 70.5 kB / 456.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1199, allocations: 59.59 MB / 0.5037 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002862/0.1228, allocations: 1.604 MB / 0.5053 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005326/0.1233, allocations: 264.3 kB / 0.5055 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.1234, allocations: 1.375 kB / 0.5055 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.1235, allocations: 11.88 kB / 0.5055 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.024e-05/0.1235, allocations: 18.55 kB / 0.5056 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1238, allocations: 64.36 kB / 0.5056 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.1239, allocations: 102.3 kB / 0.5057 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1241, allocations: 36.3 kB / 0.5057 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.95e-05/0.1241, allocations: 38.97 kB / 0.5058 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.1242, allocations: 48.14 kB / 0.5058 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.1242, allocations: 6.875 kB / 0.5058 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.981e-05/0.1243, allocations: 25.83 kB / 0.5059 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.1243, allocations: 22.53 kB / 0.5059 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.1244, allocations: 43.67 kB / 0.5059 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1245, allocations: 99.69 kB / 0.506 GB, free: 7.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1245, allocations: 3.984 kB / 0.506 GB, free: 7.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1245, allocations: 0 / 0.506 GB, free: 7.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1246, allocations: 4.969 kB / 0.506 GB, free: 7.941 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.0004924/0.1251, allocations: 401 kB / 0.5064 GB, free: 7.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1251, allocations: 9.906 kB / 0.5064 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.1261, allocations: 119.5 kB / 0.5065 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1263, allocations: 200.9 kB / 0.5067 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1264, allocations: 2.844 kB / 0.5067 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1264, allocations: 9.781 kB / 0.5067 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.1269, allocations: 164 kB / 0.5069 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1269, allocations: 1.406 kB / 0.5069 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.127, allocations: 4 kB / 0.5069 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.127, allocations: 2.219 kB / 0.5069 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007101/0.1277, allocations: 151 kB / 0.507 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.1285, allocations: 445.3 kB / 0.5075 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.1292, allocations: 135.8 kB / 0.5076 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.1296, allocations: 76 kB / 0.5077 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1296, allocations: 1.531 kB / 0.5077 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.1296, allocations: 38.56 kB / 0.5077 GB, free: 6.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1296, allocations: 0 / 0.5077 GB, free: 6.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001172/0.1308, allocations: 248.7 kB / 0.5079 GB, free: 6.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.1309, allocations: 55.39 kB / 0.508 GB, free: 6.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.131, allocations: 162.5 kB / 0.5082 GB, free: 6.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.131, allocations: 25.7 kB / 0.5082 GB, free: 6.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.131, allocations: 104.1 kB / 0.5083 GB, free: 6.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.1311, allocations: 18.52 kB / 0.5083 GB, free: 6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.1311, allocations: 27.7 kB / 0.5083 GB, free: 5.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.1312, allocations: 329.2 kB / 0.5086 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.1315, allocations: 72.69 kB / 0.5087 GB, free: 5.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.1319, allocations: 76.03 kB / 0.5088 GB, free: 5.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006697/0.1326, allocations: 129.8 kB / 0.5089 GB, free: 5.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1326, allocations: 0 / 0.5089 GB, free: 5.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007451/0.1333, allocations: 193.4 kB / 0.5091 GB, free: 5.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1334, allocations: 4 kB / 0.5091 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1334, allocations: 7.875 kB / 0.5091 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1334, allocations: 4 kB / 0.5091 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.1337, allocations: 31.95 kB / 0.5091 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1337, allocations: 3.984 kB / 0.5091 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.1339, allocations: 39.81 kB / 0.5092 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1339, allocations: 3.984 kB / 0.5092 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001135/0.134, allocations: 116.3 kB / 0.5093 GB, free: 5.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.595e-05/0.1341, allocations: 52.28 kB / 0.5093 GB, free: 4.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001553/0.1343, allocations: 84.12 kB / 0.5094 GB, free: 4.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.81e-07/0.1343, allocations: 4 kB / 0.5094 GB, free: 4.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.000211/0.1345, allocations: 105.9 kB / 0.5095 GB, free: 4.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.1345, allocations: 8 kB / 0.5095 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.1345, allocations: 4 kB / 0.5095 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-06/0.1345, allocations: 7.938 kB / 0.5095 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.1346, allocations: 20.08 kB / 0.5096 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.1346, allocations: 7.984 kB / 0.5096 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.1347, allocations: 11.98 kB / 0.5096 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.1347, allocations: 0 / 0.5096 GB, free: 4.727 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 5.731e-05/0.1347, allocations: 184.3 kB / 0.5098 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.1348, allocations: 11.81 kB / 0.5098 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/0.1348, allocations: 20.23 kB / 0.5098 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1348, allocations: 4 kB / 0.5098 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1349, allocations: 0 / 0.5098 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1349, allocations: 0 / 0.5098 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009307/0.1358, allocations: 476 kB / 0.5102 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1358, allocations: 4.062 kB / 0.5103 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.136, allocations: 39.88 kB / 0.5103 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.136, allocations: 0 / 0.5103 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1361, allocations: 0 / 0.5103 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1361, allocations: 4 kB / 0.5103 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.1361, allocations: 3.984 kB / 0.5103 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007183/0.1368, allocations: 289 kB / 0.5106 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.1368, allocations: 85 kB / 0.5107 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1369, allocations: 4 kB / 0.5107 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.1371, allocations: 23.97 kB / 0.5107 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.1371, allocations: 7.938 kB / 0.5107 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.1372, allocations: 7.984 kB / 0.5107 GB, free: 3.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.613e-05/0.1372, allocations: 119.2 kB / 0.5108 GB, free: 3.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1372, allocations: 0 / 0.5108 GB, free: 3.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.1375, allocations: 32 kB / 0.5108 GB, free: 3.324 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 8.413e-05/0.1376, allocations: 99.19 kB / 0.5109 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000842/0.1385, allocations: 184 kB / 0.5111 GB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1385, allocations: 8 kB / 0.5111 GB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.1388, allocations: 71.86 kB / 0.5112 GB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.1391, allocations: 29.69 kB / 0.5112 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008978/0.14, allocations: 285.1 kB / 0.5115 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.1402, allocations: 0.6963 MB / 0.5122 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.002e-05/0.1402, allocations: 16.66 kB / 0.5122 GB, free: 1.887 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.816e-05/0.1403, allocations: 19.41 kB / 0.5122 GB, free: 1.867 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1403, allocations: 0 / 0.5122 GB, free: 1.867 MB / 382.1 MB Notification: Performance of Templates: time 0.003239/0.1436, allocations: 1.445 MB / 0.5136 GB, free: 436 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)