Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007366/0.007365, allocations: 96.56 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.001256/0.001256, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.534/1.534, 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.4112/0.4112, allocations: 54.94 MB / 324.8 MB, free: 32 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.001559/0.001559, allocations: 67.91 kB / 456.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1211, allocations: 59.58 MB / 0.5038 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003097/0.1242, allocations: 2.066 MB / 0.5058 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.1274, allocations: 1.975 MB / 0.5077 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/0.1277, allocations: 8.062 kB / 0.5077 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00071/0.1284, allocations: 253.8 kB / 0.508 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006569/0.129, allocations: 297.4 kB / 0.5083 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1301, allocations: 486.2 kB / 0.5087 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007335/0.1308, allocations: 456.3 kB / 0.5092 GB, free: 5.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.131, allocations: 40.38 kB / 0.5092 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.1312, allocations: 171.4 kB / 0.5094 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.1314, allocations: 163.4 kB / 0.5095 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.1315, allocations: 16 kB / 0.5095 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.1321, allocations: 447.2 kB / 0.51 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.861e-05/0.1322, allocations: 99.7 kB / 0.5101 GB, free: 4.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.221e-05/0.1323, allocations: 119.3 kB / 0.5102 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006482/0.133, allocations: 0.5878 MB / 0.5107 GB, free: 3.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.133, allocations: 0 / 0.5107 GB, free: 3.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.133, allocations: 4 kB / 0.5107 GB, free: 3.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.133, allocations: 0 / 0.5107 GB, free: 3.762 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007965/0.1338, allocations: 0.6106 MB / 0.5113 GB, free: 3.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1338, allocations: 8.031 kB / 0.5113 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/0.1342, allocations: 56.7 kB / 0.5114 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.1346, allocations: 336.5 kB / 0.5117 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1346, allocations: 8.375 kB / 0.5117 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1346, allocations: 15.94 kB / 0.5117 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.135, allocations: 149.6 kB / 0.5119 GB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.135, allocations: 4 kB / 0.5119 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.135, allocations: 4 kB / 0.5119 GB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.135, allocations: 0 / 0.5119 GB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.1354, allocations: 127.8 kB / 0.512 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.1359, allocations: 496.4 kB / 0.5125 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.1363, allocations: 138.5 kB / 0.5126 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.1364, allocations: 64.81 kB / 0.5127 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1365, allocations: 0 / 0.5127 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.1365, allocations: 38.69 kB / 0.5127 GB, free: 1.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1365, allocations: 0 / 0.5127 GB, free: 1.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006467/0.1372, allocations: 237.3 kB / 0.5129 GB, free: 1.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.1372, allocations: 51.41 kB / 0.513 GB, free: 1.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.1375, allocations: 344.5 kB / 0.5133 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1375, allocations: 29.64 kB / 0.5134 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.1376, allocations: 152.1 kB / 0.5135 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1376, allocations: 35.69 kB / 0.5135 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.495e-05/0.1377, allocations: 49.69 kB / 0.5136 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.1378, allocations: 339.2 kB / 0.5139 GB, free: 312 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.138, allocations: 116.8 kB / 0.514 GB, free: 192 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.1383, allocations: 158.2 kB / 0.5142 GB, free: 12 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.1389, allocations: 282.6 kB / 0.5144 GB, free: 15.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1389, allocations: 3.938 kB / 0.5144 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007032/0.1396, allocations: 331.8 kB / 0.5148 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1396, allocations: 8.219 kB / 0.5148 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1396, allocations: 4 kB / 0.5148 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1397, allocations: 7.938 kB / 0.5148 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.1399, allocations: 47.95 kB / 0.5148 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.1399, allocations: 7.938 kB / 0.5148 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.1401, allocations: 23.78 kB / 0.5149 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.1401, allocations: 19.98 kB / 0.5149 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000334/0.1405, allocations: 208 kB / 0.5151 GB, free: 15.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002693/0.1408, allocations: 142.8 kB / 0.5152 GB, free: 14.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004914/0.1413, allocations: 242.6 kB / 0.5154 GB, free: 14.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-06/0.1413, allocations: 4 kB / 0.5154 GB, free: 14.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005832/0.1419, allocations: 285.2 kB / 0.5157 GB, free: 14.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.1419, allocations: 8 kB / 0.5157 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.1419, allocations: 224 / 0.5157 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-06/0.1419, allocations: 8 kB / 0.5157 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1421, allocations: 47.95 kB / 0.5158 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1421, allocations: 3.938 kB / 0.5158 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1423, allocations: 23.81 kB / 0.5158 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.1423, allocations: 16 kB / 0.5158 GB, free: 14.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * 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.0001066/0.1424, allocations: 184.3 kB / 0.516 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.1424, allocations: 19.86 kB / 0.516 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005156/0.143, allocations: 212.2 kB / 0.5162 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.143, allocations: 3.938 kB / 0.5162 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.143, allocations: 0 / 0.5162 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.143, allocations: 0 / 0.5162 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.1433, allocations: 277.5 kB / 0.5165 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1434, allocations: 0 / 0.5165 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.1435, allocations: 31.91 kB / 0.5165 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1435, allocations: 0 / 0.5165 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1435, allocations: 0 / 0.5165 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.1435, allocations: 12.03 kB / 0.5165 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1436, allocations: 3.938 kB / 0.5165 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.144, allocations: 283.2 kB / 0.5168 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.1441, allocations: 100.9 kB / 0.5169 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.1442, allocations: 7.984 kB / 0.5169 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.1444, allocations: 15.92 kB / 0.5169 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.1444, allocations: 11.92 kB / 0.5169 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1444, allocations: 4 kB / 0.5169 GB, free: 12.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002495/0.1447, allocations: 243 kB / 0.5172 GB, free: 12.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1447, allocations: 0 / 0.5172 GB, free: 12.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005915/0.1453, allocations: 139.8 kB / 0.5173 GB, free: 12.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.0003909/0.1457, allocations: 206.9 kB / 0.5175 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007874/0.1465, allocations: 316.4 kB / 0.5178 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1465, allocations: 8.125 kB / 0.5178 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.1467, allocations: 71.89 kB / 0.5179 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.1472, allocations: 101.1 kB / 0.518 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/0.148, allocations: 494.9 kB / 0.5184 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.1483, allocations: 0.7639 MB / 0.5192 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.1486, allocations: 82.86 kB / 0.5193 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.382e-05/0.1487, allocations: 35.42 kB / 0.5193 GB, free: 10.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1487, allocations: 4 kB / 0.5193 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Templates: time 0.01069/0.1594, allocations: 6.559 MB / 0.5257 GB, free: 3.996 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)