Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_centrifugal_pump_001.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Devel_test_models.Test_centrifugal_pump_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_centrifugal_pump_001") translateModel(AES.Devel_test_models.Test_centrifugal_pump_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_centrifugal_pump_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007879/0.007879, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.001814/0.001814, allocations: 198.8 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09505/0.09505, allocations: 22.32 MB / 312.8 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 437.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1265, allocations: 54.95 MB / 492.7 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_centrifugal_pump_001): time 0.003472/0.13, allocations: 2.227 MB / 494.9 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007971/0.1308, allocations: 279.2 kB / 495.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.131, allocations: 0 / 495.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.1312, allocations: 27.72 kB / 495.2 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.1315, allocations: 75.41 kB / 495.3 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1318, allocations: 59.84 kB / 495.4 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.1321, allocations: 246.9 kB / 495.6 MB, free: 1.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.1324, allocations: 120.7 kB / 495.7 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1325, allocations: 99.56 kB / 495.8 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1327, allocations: 103.5 kB / 495.9 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.1328, allocations: 20 kB / 495.9 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1329, allocations: 47.97 kB / 496 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.1329, allocations: 43.78 kB / 496 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1331, allocations: 119.4 kB / 496.1 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1334, allocations: 251 kB / 496.4 MB, free: 332 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1334, allocations: 3.938 kB / 496.4 MB, free: 328 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1334, allocations: 0 / 496.4 MB, free: 328 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1334, allocations: 0 / 496.4 MB, free: 328 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007699/0.1342, allocations: 0.5105 MB / 496.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1342, allocations: 8.031 kB / 496.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.1343, allocations: 32.56 kB / 496.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.1347, allocations: 244 kB / 497.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.1347, allocations: 12.7 kB / 497.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1347, allocations: 12.38 kB / 497.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.135, allocations: 155.7 kB / 497.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1351, allocations: 192 / 497.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.1351, allocations: 11.94 kB / 497.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1351, allocations: 4 kB / 497.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/0.1353, allocations: 103.9 kB / 497.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009155/0.1363, allocations: 0.5427 MB / 498 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.1365, allocations: 98.62 kB / 498.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1366, allocations: 48.78 kB / 498.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1366, allocations: 0 / 498.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1367, allocations: 30.56 kB / 498.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1367, allocations: 0 / 498.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001368/0.1381, allocations: 347.1 kB / 498.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.1381, allocations: 55.41 kB / 498.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.1383, allocations: 215.9 kB / 498.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1384, allocations: 25.7 kB / 498.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.1385, allocations: 156 kB / 499 MB, free: 13.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1385, allocations: 31.55 kB / 499 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.1386, allocations: 33.64 kB / 499 MB, free: 13.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1387, allocations: 330.8 kB / 499.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.894e-05/0.1388, allocations: 35.97 kB / 499.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.1389, allocations: 54.5 kB / 499.4 MB, free: 13.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.1391, allocations: 98.48 kB / 499.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1392, allocations: 0 / 499.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006735/0.1398, allocations: 209 kB / 499.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1399, allocations: 8 kB / 499.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1399, allocations: 3.938 kB / 499.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/0.1405, allocations: 80.83 kB / 499.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1406, allocations: 19.98 kB / 499.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004357/0.1411, allocations: 0.5757 MB / 0.4887 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1412, allocations: 11.88 kB / 0.4887 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.1412, allocations: 4 kB / 0.4887 GB, free: 11.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.1414, allocations: 129.8 kB / 0.4888 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.1414, allocations: 15.81 kB / 0.4889 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006276/0.1421, allocations: 222.4 kB / 0.4891 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1421, allocations: 4 kB / 0.4891 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.1421, allocations: 0 / 0.4891 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1421, allocations: 0 / 0.4891 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.1425, allocations: 277.3 kB / 0.4893 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1425, allocations: 4 kB / 0.4893 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1426, allocations: 15.98 kB / 0.4894 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/0.143, allocations: 69.11 kB / 0.4894 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.143, allocations: 4 kB / 0.4894 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004232/0.1434, allocations: 0.5641 MB / 0.49 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1434, allocations: 0 / 0.49 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006305/0.1441, allocations: 295.9 kB / 0.4903 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.1442, allocations: 96.84 kB / 0.4904 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.1442, allocations: 4 kB / 0.4904 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1443, allocations: 4 kB / 0.4904 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.1444, allocations: 12.03 kB / 0.4904 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.1444, allocations: 7.984 kB / 0.4904 GB, free: 10.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.1446, allocations: 168.6 kB / 0.4905 GB, free: 9.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.1446, allocations: 4 kB / 0.4905 GB, free: 9.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.1449, allocations: 47.78 kB / 0.4906 GB, free: 9.914 MB / 382.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 (11): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001675/0.1451, allocations: 103.2 kB / 0.4907 GB, free: 9.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00043/0.1455, allocations: 111.9 kB / 0.4908 GB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1455, allocations: 4 kB / 0.4908 GB, free: 9.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.1458, allocations: 79.97 kB / 0.4909 GB, free: 9.613 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1461, allocations: 32.75 kB / 0.4909 GB, free: 9.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008061/0.1469, allocations: 391.6 kB / 0.4913 GB, free: 9.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.1473, allocations: 0.732 MB / 0.492 GB, free: 8.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.368e-05/0.1474, allocations: 25.55 kB / 0.492 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.1475, allocations: 15.44 kB / 0.492 GB, free: 8.379 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1475, allocations: 0 / 0.492 GB, free: 8.379 MB / 382.1 MB Notification: Performance of Templates: time 0.006155/0.1536, allocations: 2.348 MB / 0.4943 GB, free: 6.043 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_centrifugal_pump_001.makefile (rm -f AES_AES.Devel_test_models.Test_centrifugal_pump_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_centrifugal_pump_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_centrifugal_pump_001.pipe >> ../files/AES_AES.Devel_test_models.Test_centrifugal_pump_001.sim & ./AES_AES.Devel_test_models.Test_centrifugal_pump_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_centrifugal_pump_001.pipe 2>&1)